搜索资源列表
mvc
- mvc模式的示例代码。输入球的半径,体积,表面积的任何一个会在视图中产生一个相应的球
column
- (1) 编写一个代表圆柱体的Cylinder类,该类是Circle类的子类。Cylinder类包括圆柱体的高度变量height以及计算圆柱体的体积方法volume()和计算表面积的方法surfaceArea()。 (2) 编写测试Cylinder类的CylinderTest类,并在该类得main方法中调用Cylinder类的相关方法。 (3) 重写Point和Circle类的equals()、toString()方法,并测试这些方法的正确性。
Sphere
- 软件实现了输入直径,java方法计算球表面积、球体积,然后输出结果-run the software,it require you to input a radius ,it will calculate the surface area and valumes and show the result
qiutijisuan
- 计算球体的表面积和体积,类似于计算器的形式-Calculate the surface area and volume of the sphere, similar to the form calculator
Cylinder
- 编写JAVA程序求园柱体的表面积和体积,已知底面圆心p为(0,0),半径r为10,圆柱体高为5.-JAVA program written request park area and volume of cylinder, known as the bottom center of the circle p (0,0), radius r is 10, a cylinder height of 5.
experiment10
- (1) 编写一个代表圆柱体的Cylinder类,该类是Circle类的子类。Cylinder类包括圆柱体的高度变量height、计算圆柱体的体积方法volume()和计算表面积的方法surfaceArea()。 (2) 编写测试Cylinder类的CylinderTest类,并在该类得main方法中调用Cylinder类的相关方法。 (3) 程序调试通过后填写实验报告。 -( 1) the preparation of a representative cylinder Cylind
Circle
- 输入圆柱的颜色,半径,和他的高。计算圆柱的体积,质量,表面积等.-input circle‘s color,radius,length.Calculate the volume,the quality.
Surface-and-Area
- 计算柱体的体积和表面积,利用开闭原则,实现接口-Calculating the volume of the cylinder and the surface area, using the principle of opening and closing, and implement the interface
CaculatePerimeter
- 通过Java的面向对象编程,实现对图形的表面积的求解-Java object-oriented programming, the solving of the surface area of the graphics
Triangle-and-cylinder-class-package
- (1)创建一个三角形类Triangle,包含的属性有三条边的长sideA,sideB,sideC,包含的方法有构造方法(两个,一个没有参数,一个给定三条边的长度),求面积方法area(),求周长方法getLength(); 提示:设三角形的三边长为a,b,c,则它的面积为 ,其中S=(a+b+c)/2,开平方的方法为Math.sqrt()。 (2)创建一个圆柱体类YZT,包含的属性有底面半径radius和圆柱体的高heigth,包含的方法有构造方法(两个,一个没有参数,一个给定半径rad
MVC
- 简单的MVC模式设计,输入球的半径,输出体积与表面积-Simple MVC pattern design, enter the radius of the sphere, the output volume and surface
1
- 就算球体和正方体表面积和体积的java小程序 --------------------Configuration: CalculateObj - JDK version 1.7.0_07 <Default> - <Default>-------------------- 球体的表面积为:113.09733360000001 球体的体积是:113.09733360000001 正方体的表面积为:6.0 正方体的体积是:1.0 Process c
test
- 实现学生用户操作,同样通过修改一样可以改为计算长方体的体积表面积,结果会在xml中显示-Students realize user operation, the same volume can be changed by modifying the surface area calculated as cuboid, the results will be displayed in xml
MVC
- MVC模式,采用JAVA编程,计算球体的表面积和体积-MVC model, using JAVA programming, calculate the surface area and volume of a sphere
java-applet
- java入门小程序。新建类;设定初始值,返回值;进行几何运算,比如:求圆的面积、周长,求圆柱体的表面积、体积;输出各种动物的叫声-Getting java applet. New Class set the initial value, the return value geometric operations such as: seeking the circular area, perimeter, seeking cylinder surface area, volume the o
MVCcircle
- 1 利用基本MVC模式实现下图所示的应用程序,程序主要功能如下: (1)当用户在图形化用户界面输入一个圆的半径时,程序将显示该圆的周长与面积,并画出该圆(如图中右面所示); (2)当用户在图形化用户界面上拖动表示圆半径的标尺时,自动显示圆的半径、周长和面积;并在图形界面上画出图形; (3)假设程序需再扩充一项功能:要求在程序界面上显示该半径的球体的表面积,试分析如何实现这一功能,并实现该功能。 (1 using the basic MVC model to achieve the fol