- transparent&enlarge 实现透明窗口的同时
- cldc-1_1-fr-spec java kvm simulation tools and open source code declaration in the SUN website
- JavaDoc Java的帮助文档
- ecoli2 ecoli ten fold cross validation set (part 2)
- Applied-Numerical-Methods-Using-MATLAB Applied Numerical Methods Using MATLAB
- DS18B20 芯片与AT89C52单片机实现温度控制与显示
文件名称:TriangleTest
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.03kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
个人原创代码:编写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 original code of the individual: to write a java application program, a triangle of the Triangle, the member variable bottom edge of the x and an edge y, and both sides of the angle a (0 <a <180), a static member, a member of two: find the area s (without parameters) and to modify the angle (angle parameters), the constructor of the Triangle (int xx, int, yy, int aa), the parameters x, y, and a assignment construct two objects in the main methodcalculate the area, then use the method to modify the angle, modify the angle on both sides, and then calculate the area of value. (Hint: pursue high h = y * Math.sin (a)).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TriangleTest.java
本Java程序设计详细要求.txt
本Java程序设计详细要求.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。