搜索资源列表
transformTriangle
- 输入三角形的三个顶点坐标,以及变换方式,通过矩阵的运算进行平移、旋转、缩放变换,结果显示原三角形和变换后的三角形。右击TestTrans_1_2_3运行-Enter the triangle s three vertex coordinates, and the way of transformation, then through matrix operations for translation, rotation, scale transformation, the result can
TriangleTest
- 个人原创代码:编写Java Application程序,有一个三角形类Triangle,成员变量有底边x和另一条边y,和两边的夹角a(0<a<180),a为静态成员,成员方法有两个:求面积s(无参数)和修改角度(参数为角度),构造函数为 Triangle(int xx,int yy,int aa) 参数分别为x,y,a赋值 在main方法中构造两个对象,求出其面积,然后使用修改角度的方法,修改两边的夹角,再求出面积值。(提示:求高的方法 h=y*Math.sin(a)).-The o
TriangleExcep1
- 个人原创代码:Java异常处理程序。编写Java Application程序,写一个方法void sanjiao(int a,int b,int c),判断三个参数是否能构成一个三角形,如果不能则抛出异常IllegalArgumentException,显示异常信息a,b,c+”不能构成三角形”,如果可以构成则显示三角形三个边长,在主方法中得到命令行输入的三个整数,调用此方法,并捕获异常。-Personal original code: Java exception handling proce
TriangleExcep2
- 个人原创代码:Java异常处理程序。编写Java Application程序,自定义类Sanj,其中有成员 x,y,z,作为三边长,构造方法Sanj(a,b,c)分别给x,y,z赋值,方法求面积getArea和显示三角形信息(三个边长)showInfo,这2个方法中当三条边不能构成一个三角形时要抛出自定义异常NotSanjiaoException,否则显示正确信息。在另外一个类中的主方法中构造一个Sanj对象(三边为命令行输入的三个整数),显示三角形信息和面积,要求捕获异常。-Personal
sjx
- 3、先创建一个Point类,然后定义Trianglele类。在Trianglele类中定义三个Point的实体来表示一个三角形的三个点,再定义一个方法setTri对这三个点进行初始化,然后定义两个方法求三角形的周长、面积。在main()中创建一个对象,求给定三点的三角形的周长、面积。- 3, first create a Point class, and then Trianglele class definition. In Trianglele class definition t
triangle
- 输入三条边输出三角形的图形和面积 输入三条边输出三角形的图形和面积-Enter the three sides of the output graphics and area of the triangleEnter the three sides of the output graphics and area of the triangle
Shape
- 该代码实现了对三角形,矩形,三角形类,正五边形的周长以及面积的计算-failed to translate
nextday-triangle
- 自己的作业,java写的下一天和三角形判断的代码,简单容易看懂-Own operations, the code of java to write the next day and the triangle judgment, simple and easy to understand
triangle
- jsp文件,三角形的三边关系,三条边各自的长度,组成三角形的三边的条件,各种情况的分析-Triangle Success
areaacir
- 选择画图 圆 三角形 矩形 本人还是学生 这是以前做的作业-paint circle……
triangle
- 输入一个三角形的3个边长,检查是否能构成一个直角三角形-Input a triangle of three fields, check whether can constitute a right triangle
MyTriangle
- 画三角形的java程序,高度由命令行参数确定,并带有异常控制,算是入门的小程序,-Java program draw a triangle, the height from the command line parameters to determine, with the exception control, be regarded as the entry procedures,
java2
- 多边形类的继承以及接口的设计,主要是平行四边形,三角形-Polygon class inheritance and interface design, parallelogram, triangle, etc.
package
- 运用java平台 绘制 三角形 圆形 矩形 的java源程序-Use of the Java platform to draw the triangle round rectangle java source
Output-triangles-and-numbers
- 利用java程序输出等腰三角形和循环的数字-Java program output of an isosceles triangle and circulation figures
softwareTest
- 软件测试 使用测试软件的缺陷。程序中包含 ATM机简单模拟。 计算器 下一个日期 三角形问题 4个程序。 -Software testing using test software defects. The program contains a simple simulation of the ATM machine. 4 program of the calculator triangle under a date problem.
test
- 这是定义平面几何图形三角形类的程序和学生管理的程序-This is defined planar geometry triangle class procedures and student management program
JAVA1
- 用于实现成法口诀阵形和显示图形三角形图案-For the triangle pattern became law formulas the lineup and display graphics
JUnitTest
- JUnit测试实例打包,包含求最大值、栈操作、三角形类型判断等多个实例-JUnit test case package contains multiple instances of seeking the maximum stack operation, triangle type judgment
java
- 这是一个java程序,判断是否构成三角形,如果是三角形,并且判断该三角形形状,很适合初学者学习-java study.