编写一个完整的Java Application 程序。包含接口ShapeArea,类Circle、Rectangle、Test,
编写一个完整的Java Application 程序。包含接口ShapeArea,类Circle、Rectangle、Test,
日期:2013-12-26 19:00:18 人气:2
interface ShapeArea{ double getArea(); double getPerimeter();}class Rectangle implements ShapeArea{ double width; double height; public Rectangle(double w, double h){ this.width=w; this.height=h; } public String