文件名称:ex2
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.32kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
描述一个接口,其中含有一个求面积的方法
描述三角形类,且实现上述接口
采用继承描述直角三角形类,增加求弦长的方法,并重写求面积的方法
创建有关对象,验证程序的正确性
测试上转型对象和接口回调的有关内容
-Descr iption of an interface, which contains a descr iption of the method for the triangle area category, and the interface used to achieve the above-mentioned categories of succession of right-angled triangle described, an increase for the chord length method, and to rewrite the method for creating an area of the object, to verify the accuracy of testing procedures transformation of objects and the contents of the callback interface
描述三角形类,且实现上述接口
采用继承描述直角三角形类,增加求弦长的方法,并重写求面积的方法
创建有关对象,验证程序的正确性
测试上转型对象和接口回调的有关内容
-Descr iption of an interface, which contains a descr iption of the method for the triangle area category, and the interface used to achieve the above-mentioned categories of succession of right-angled triangle described, an increase for the chord length method, and to rewrite the method for creating an area of the object, to verify the accuracy of testing procedures transformation of objects and the contents of the callback interface
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ex2/Areable.java
ex2/NotTriangleException.java
ex2/RectTriangle.java
ex2/Triangle.java
ex2
ex2/NotTriangleException.java
ex2/RectTriangle.java
ex2/Triangle.java
ex2
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.