文件名称:2
-
所属分类:
- 标签属性:
- 上传时间:2013-11-05
-
文件大小:3.82kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
定义一个矩形类Rectangle,再派生一个正方形类Square,自行扩充成员和方法。再定义接口EqualDiagonal,其中包含方法getDiagonal( ),在矩形类和正方形类中实现此接口,用来实现斜边的计算。-Define a rectangle class Rectangle, and then derive a square class Square, expand their own members and methods. And then define the interface EqualDiagonal, which contains methods getDiagonal (), in rectangles and squares class class implements this interface, used to achieve the hypotenuse calculations.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
第二题/.classpath
第二题/.project
第二题/.settings/org.eclipse.jdt.core.prefs
第二题/bin/ABC/EqualDiagonal.class
第二题/bin/ABC/Hypotenuse.class
第二题/bin/ABC/Rectangle.class
第二题/bin/ABC/Square.class
第二题/src/ABC/Hypotenuse.java
第二题/src/ABC/Rectangle.java
第二题/bin/ABC
第二题/src/ABC
第二题/.settings
第二题/bin
第二题/src
第二题
第二题/.project
第二题/.settings/org.eclipse.jdt.core.prefs
第二题/bin/ABC/EqualDiagonal.class
第二题/bin/ABC/Hypotenuse.class
第二题/bin/ABC/Rectangle.class
第二题/bin/ABC/Square.class
第二题/src/ABC/Hypotenuse.java
第二题/src/ABC/Rectangle.java
第二题/bin/ABC
第二题/src/ABC
第二题/.settings
第二题/bin
第二题/src
第二题
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.