-
3. A Shape interface design, interfaces include : Draw and Resize. Some specific...
3. 设计一个接口Shape,接口中包含方法:Draw和Resize。定义一些具体类,如:Point、Line、Circle、Rectangle等,每个类都实现接口Shape。Draw方法绘制图形,Resize方法改变图形大小。用Java实现这些接口和类,并用测试类测试它们。 注意:不需要真正绘制图形,如Line的Draw方法只需输出下面文本即可: “直线的起点是(x1,y1,),终点是(x2,y2)”-3. A Shape interface design, interfaces include : Draw and Resize. Some specific type definition, such as : Point, Line, Circle, Rectangle, each category are achieving Shape interface. Draw method of drawing, graphics Resize changed size. Using Java to achieve these interfaces and class, and use tests such testing. Note : no real drawing, such as the Draw Line method, only the following text can be output : "line is the starting point (x1, y1), and the ultimate goal is to (x2, y2)"
- 2022-01-25 15:17:52下载
- 积分:1
-
source code from zinj
source code from zinj-source code from zinjxxx
- 2023-08-15 02:50:04下载
- 积分:1
-
用STRUTS解决重复提交问题,程序中用两种方法解一:脱离STURTS框架,使用随机来解决。二:用STRUTS框架解决,TOKEN 的应用...
用STRUTS解决重复提交问题,程序中用两种方法解一:脱离STURTS框架,使用随机来解决。二:用STRUTS框架解决,TOKEN 的应用-STRUTS solution used to submit the issue of duplication, procedures used in two ways one solution: from STURTS framework, the use of random to resolve. Second: Using STRUTS framework solution, TOKEN Application
- 2023-04-29 10:40:04下载
- 积分:1
-
the teacher resource code about the secority
the teacher resource code about the secority
- 2023-08-22 16:25:03下载
- 积分:1
-
Ftp上传和下载等功能......
需要Ftp的IP地址 端口号 用户名 密码...
Ftp上传和下载等功能......
需要Ftp的IP地址 端口号 用户名 密码-Ftp
- 2022-05-23 02:18:34下载
- 积分:1
-
ext和prototype中摘取的关于处理字符串内容格式化
ext和prototype中摘取的关于处理字符串内容格式化-ext and prototype extracted content formatted string on the handle
- 2022-06-20 01:27:15下载
- 积分:1
-
成绩管理系统
成绩管理系统---部分二:
使用了struts,hibernate,spring等技术,内容相当详细,几个朋友几个月的毕业项目。
(因为23MB上传多次均失败,故分成3部分上传)-Performance management system- part II: using struts, hibernate, spring, such as technology, content in considerable detail, a few friends a few months of graduation projects. (Because many times have 23MB upload failure, it is divided into 3 parts uploaded)
- 2022-01-22 04:26:18下载
- 积分:1
-
新手学习jsp的精品教材,jstl的经典实例,大家欢迎学习和下载...
新手学习jsp的精品教材,jstl的经典实例,大家欢迎学习和下载-Jsp novice to learn the fine materials, jstl classic example, we welcome the study and download
- 2022-03-28 13:57:41下载
- 积分:1
-
一个简单的JavaSe的入门,希望对新手有些帮助
一个简单的JavaSe的入门,希望对新手有些帮助-JavaSe a simple entry, in the hope that some new help
- 2022-07-07 03:21:48下载
- 积分:1
-
这是一个不错的程序 值得亦看 可以仔细研究研究
这是一个不错的程序 值得亦看 可以仔细研究研究-This a good procedure should do it carefully studies
- 2023-01-31 03:00:03下载
- 积分:1