public abstract class Shape { //主类,抽象类
public abstract void area(); //面积
public abstract void perimeter(); //周长
}
public abstract void area(); //面积
public abstract void perimeter(); //周长
}
2018-09-16