【Coding】
1、自动生成生成构造函数。
Source→Generate Constructors from Superclass
abstract class Shape{ double i; double j; Shape(double x,double y){ i=x; j=y; } abstract void getArea(); } class SanJiaoXing extends Shape{ public SanJiaoXing(double x, double y) { super(x, y); ←自动生成 } }
2、