class Quadrangle{
public static void draw(Quadrangle q){
//代码块
}
}
public class parallelogram extends Quadrangle{
public static void main(String[] args){
parallelogram p=new parallelogram();
draw(p);
}
}
添加回答
举报
0/150
提交
取消