文件名称:experiment10
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:604byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
(1) 编写一个代表圆柱体的Cylinder类,该类是Circle类的子类。Cylinder类包括圆柱体的高度变量height、计算圆柱体的体积方法volume()和计算表面积的方法surfaceArea()。
(2) 编写测试Cylinder类的CylinderTest类,并在该类得main方法中调用Cylinder类的相关方法。
(3) 程序调试通过后填写实验报告。
-( 1) the preparation of a representative cylinder Cylinder class, the class is a subclass of Circle. The Cylinder includes cylinder is highly variable height, calculation of cylinder volume method ( volume ) and the calculation method of surface area ( surfaceArea ).( 2) writing a test class Cylinder class CylinderTest, and the main method called Cylinder correlation method.( 3) through debugging procedures after completing the experiment report.
(2) 编写测试Cylinder类的CylinderTest类,并在该类得main方法中调用Cylinder类的相关方法。
(3) 程序调试通过后填写实验报告。
-( 1) the preparation of a representative cylinder Cylinder class, the class is a subclass of Circle. The Cylinder includes cylinder is highly variable height, calculation of cylinder volume method ( volume ) and the calculation method of surface area ( surfaceArea ).( 2) writing a test class Cylinder class CylinderTest, and the main method called Cylinder correlation method.( 3) through debugging procedures after completing the experiment report.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CylinderTest.java
Cylinder.java
Cylinder.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.