2019-04-10

package day11Test1;

public class ChangFangXing extends XingZhuang{

public int chang;

public int kuan;

public double mianJi() {

return chang * kuan;

}

public double zhouChang() {

return (chang + kuan) * 2;

}

}

你可能感兴趣的:(2019-04-10)