( 16 个子文件 7KB ) java实验:请设计一个软件包。要求该软件包至少拥有三角形类、正方形类、圆类和正五边形类。每个类都要具有构造方法,而且可以构造任意的一般图形。
J_RegularPolygon.class 981B
J_RegularPolygon.java 708B
[{"title":"( 16 个子文件 7KB ) java实验:请设计一个软件包。要求该软件包至少拥有三角形类、正方形类、圆类和正五边形类。每个类都要具有构造方法,而且可以构造任意的一般图形。","children":[{"title":"shape","children":[{"title":"bin","children":[{"title":"shape","children":[{"title":"J_Shape.class <span style='color:#111;'> 145B </span>","children":null,"spread":false},{"title":"J_Shapemain.class <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"J_RegularPolygon.class <span style='color:#111;'> 981B </span>","children":null,"spread":false},{"title":"J_Pentangon.class <span style='color:#111;'> 366B </span>","children":null,"spread":false},{"title":"J_Circle.class <span style='color:#111;'> 661B </span>","children":null,"spread":false},{"title":"J_Rectangle.class <span style='color:#111;'> 852B </span>","children":null,"spread":false},{"title":"J_Triangle.class <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"shape","children":[{"title":"J_Rectangle.java <span style='color:#111;'> 604B </span>","children":null,"spread":false},{"title":"J_Pentangon.java <span style='color:#111;'> 211B </span>","children":null,"spread":false},{"title":"J_Triangle.java <span style='color:#111;'> 882B </span>","children":null,"spread":false},{"title":"J_RegularPolygon.java <span style='color:#111;'> 708B </span>","children":null,"spread":false},{"title":"J_Shape.java <span style='color:#111;'> 173B </span>","children":null,"spread":false},{"title":"J_Circle.java <span style='color:#111;'> 373B </span>","children":null,"spread":false},{"title":"J_Shapemain.java <span style='color:#111;'> 785B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 232B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]