搜索资源列表
Adapter
- 用java写的面向对象应用的一个实例 运用了适配器模式 链表中的每一个元素都能调用同一个draw方法画图 画不同的圆形 方形 三角形
Pascal
- 三角形基本上就是在解nCr ,因为三角形上的每一个数字各对应一个nCr ,其中n为row,而r为colnmu
java作业3(画图)
- 这是一用JAVA画三角形,棱型,矩形的程序-This is a painted triangle with Java, Prism type, rectangular procedures
编写求解几何图形周长、面积的应用程序
- 编写求解几何图形周长、面积的应用程序,要求如下: 1) 几何图形要求至少包含直线、三角形,矩型,圆等类型,计算周长,面积等。 2) 要求能计算两个图形之间的距离 3) 要求能计算两个图形进行布尔运算(即交、并、差)后的面积(可选作)。 4) 必须用到继承、接口、多态和包 -It s good.
simplejavaprogramming
- 题目:打印出杨辉三角形(要求打印出10行题目:输入3个数a,b,c,按大小顺序输出。 题目:输入数组,最大的与第一个元素交换,最小的与最后一个元素交换,输出数组。 题目:有n个整数,使其前面各数顺序向后移m个位置,最后m个数变成最前面的m个数 题目:编写一个函数,输入n为偶数时,调用函数求1/2+1/4+...+1/n,当输入n为奇数时,调用函数1/1+1/3+...+1/n-Topic: Print out the Triangle (10 lines required to pr
Triangle
- 通过三点坐标判断能否构成三角形。是的话计算面积-By three coordinates to determine whether to form a triangle. Is calculated area
c3_1
- java程序 带交互界面的 判断三角形 形状的程序-java program with the interface of the program to determine the shape of a triangle
Triange
- (三角类)设计一个类的名字,扩展GeometricObject.The三角类包含: *三双数据字段命名side1,side2,并使用默认值1.0 side3来表示三角形的三个方面。 *一个无参数的构造函数创建一个默认的三角形。 *构造函数创建一个具有指定side1,side2三角形和side3。 *在所有3个数据字段的访问方法。 *命名getArea()方法返回这个三角形的面积。 *命名getPerimeter()方法返回这个三角形周长。
cell01
- 随机元胞自动机绘制sierpinski三角形的类-Stochastic Cellular Automata Drawing Sierpinski triangle class
sierpinski2
- 元胞自动机生成的Sierpinski三角形,public class sierpinski2 extends JApplet implements ActionListener-Cellular Automata generated Sierpinski triangle, public class sierpinski2 extends JApplet implements ActionListener
shiyan3
- 这是实验程序;是求三角形,圆,矩形等多边形周长和面积的JAVA程序-This is the experimental procedure is seeking a triangle, round, rectangular and other polygonal perimeter and area of the JAVA program
MiniProject-05B04-PengYu
- 一个大学本科java课程的大作业。要求利用GUI以及APPLET分别完成一个任务:随机产生三角形,正方形和长方形若干个。计算统计每种图形出现的个数-A university undergraduate course java big operation. Require the use of GUI, as well as, respectively, to complete a task APPLET: randomly generated triangle, square and recta
mvc1
- 基于mvc的一个测试三角形的jsp代码,输入三个数 可测试能否组成三角形 如果是则求出它的面积-Based on a test mvc triangle jsp code, enter the three components can be tested whether the triangle is obtained if it is its size
Triangle
- 一个判断是否是等边三角形还是等腰三角形的程序.-To determine whether it is an equilateral triangle or isosceles triangle procedures.
yanghui
- Java源代码实现标准杨辉三角形的输出,注:是等腰三角形哦-Java source code implementation of the standard Yang Hui triangle output, Note: Oh yes isosceles triangle
wang
- java 三角编写一个三角形类,能根据3个实数(即三角形的三边)构造三角形对象-java
DrawPlat
- 用JAVA实现。一个简单的画图软件。可以进行简单的操作。还可以实现简单的图形绘画。如三角形等。-To achieve with JAVA. A simple drawing software. Can be a simple operation. Can achieve a simple graphics painting. Such as triangles and so on.
Shape
- 求一个几何图形的周长和面积,包括圆,三角形,四边形-For a perimeter and area of geometric shapes, including round, triangular, quadrilateral
ex2
- 描述一个接口,其中含有一个求面积的方法 描述三角形类,且实现上述接口 采用继承描述直角三角形类,增加求弦长的方法,并重写求面积的方法 创建有关对象,验证程序的正确性 测试上转型对象和接口回调的有关内容 -Descr iption of an interface, which contains a descr iption of the method for the triangle area category, and the interface used to achiev
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.