搜索资源列表
编写求解几何图形周长、面积的应用程序
- 编写求解几何图形周长、面积的应用程序,要求如下: 1) 几何图形要求至少包含直线、三角形,矩型,圆等类型,计算周长,面积等。 2) 要求能计算两个图形之间的距离 3) 要求能计算两个图形进行布尔运算(即交、并、差)后的面积(可选作)。 4) 必须用到继承、接口、多态和包 -It s good.
asasss
- 计算三角形的面积和周长。 通过输入三点坐标的方法来确定一个三角形,并输出三角形的面积和周长。-Calculation of area and perimeter of the triangle. By entering the three-point method to determine the coordinates of a triangle, and the output of the area and perimeter of the triangle.
AreaAndLength
- 类的封装 1. 实验目的 使用类来封装对象的属性和功能。 2. 实验要求 (1)编写一个简单的Java应用程序,该程序中定义3个类:Tangle、Lader和Circle,分别用来刻画“三角形”、“梯形”和“圆形”,具体要求如下: Tangle类具有类型为double的三条边,以及周长、面积属性,具有计算并返回周长、面积以及三条边的功能,另外还要具有一个boolean型的属性,用来判断三个数能否构成一个三角形。 Lander类具有类型为
Count
- 计算三角形的面积和周长,要求设计出点数,通过输入三点坐标的方法来确定一个三角形,并输出三角形的面积,周长等。-Calculate triangle area and perimeter, to design the points, by entering the three methods to determine the coordinates of a triangle, and the output of the triangle area and perimeter.
Tangle
- 通过坐标计算三角形面积和周长的JAVA小程序-Coordinates calculated by the triangle area and perimeter of the JAVA applet
Testshape
- 使用java语言描述的三角形。矩形和椭圆的周长、面积的计算。-Using java language to describe the triangle. Rectangle and ellipse perimeter, area calculations.
Triangle
- 计算三角形的面积和周长,要求如下: (1)设计出point类(点类) (2)设计出triangle类(三角形类),至少包括其构造方法,获取面积和周长的方法。 (3)通过输入三点坐标的方法来确定一个三角形,并输出三角形的面积周长等内容。 -Calculate the area and perimeter of triangles, requirements are as follows: (1) design point class (point) (2) design trian
Test4
- 计算三角形的面积和周长,要求如下: (1)设计出point类(点类) (2)设计出triangle类,至少包括其构造方法,获取面积和周长的方法。 (3)通过输入三点坐标的方法来确定一个三角形,并输出三角形的面积周长等内容。 -Calculate the area and perimeter of a triangle, the following: (1) design a point class (Point class) (2) design a triangle class
w1
- 实现求圆形、三角形、矩形的面积和周长。要求和说明如下: (一) 定义接口sharp接口 (二) 通过实现接口定义Rect、Triangle、Circle的类,并且一个构造方法,并实现求面积和周长的方法(其中三角形斜边的计算公式c=Math.sqrt (width * width + height * height ) ) -Seeking to achieve circular, triangular, rectangular area and perimeter. Requirem
geometric
- 1)编写一个Java应用程序, 1)该程序中有3个类:Triangle、Circle和cone,分别用来刻画“三角形”、“圆形”和“圆锥体”。具体要求如下: a) Triangle类具有类型为double的三个边长度以及周长属性;定义构造函数,返回周长和修改三个边的方法。另外,Triangle类还具有一个boolean型的属性,该属性用来判断三个属能否构成一个三角形。 b) Circle类具有类型为double的属性半径、周长和面积;定义设置半径,返回面积的方法。 c) Con
4
- 编写一个Java应用程序 1)该程序中有3个类:Triangle、Circle和cone,分别用来刻画“三角形”、“圆形”和“圆锥体”。具体要求如下: a) Triangle类具有类型为double的三个边长度以及周长属性;定义构造函数,返回周长和修改三个边的方法。另外,Triangle类还具有一个boolean型的属性,该属性用来判断三个属能否构成一个三角形。 b) Circle类具有类型为double的属性半径和面积;定义设置半径,返回面积的方法。 c) Cone类具有Ci
Exe3_3
- 3.设计一个能够描述点(point)、线(line)、圆(circle)、矩形(rectangle)和三角形(triangle)等几何形状的类体系,能够计算不同形状的周长和面积(如果能够定义的话)。程序文件命名为Exe3_3.java。-3. Design a point can be described (point), line (line), circle (circle), class hierarchy rectangle (rectangle) and the triangle (t
Grape
- JAVA语言编写的一个可以计算矩形、三角形、圆形的面积和周长的软件,页面精致简单!-JAVA language may calculate a rectangular, triangular, circular area and perimeter of the software, the page simply exquisite!
Triangle2D
- 定义一个三角形的类Triangle2D,包含设置和获取三个点的坐标、创建三角形的对象的构造方法。可以计算三角形的面积和周长以及给定点,判断该点和三角形之间的关系(在三角形内、三角形重叠、三角形外)。请编写该测试程序。-Define a triangle class Triangle2D, contains set and get the three coordinates of the point, to create a triangular object constructor. You c
Ex3_1
- 1.编写一个日期时间类Datetime,能够输入、显示和修改日期(年、月、日)和时间(小时、分、秒)。程序文件命名为Exe3_1.java。 3.设计一个能够描述点(point)、线(line)、圆(circle)、矩形(rectangle)和三角形(triangle)等几何形状的类体系,能够计算不同形状的周长和面积(如果能够定义的话)。程序文件命名为Exe3_3.java。(1. Write a Datetime class, which can input, display and mod
点线圆长方形三角形的周长和面积
- 设计一个能够描述点(point)、线(line)、圆(circle)、矩形(rectangle) 和三角形(triangle)等几何形状的类体系,能够计算不同形状的 周长和面积(如果能够定义的话)。程序文件命名为 Exe3_3.java。