-
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
-
164 integrity of the Java code, more resources
164个完整的Java代码,资源比较大-164 integrity of the Java code, more resources
- 2022-08-02 18:09:45下载
- 积分:1
-
It is the codes of how to use input facility for database in Java
It is the codes of how to use input facility for database in Java -It is the codes of how to use input facility for database in Java
- 2022-04-09 14:19:04下载
- 积分:1
-
JSP中在内存中生成的图片显示到页面中
JSP中在内存中生成的图片显示到页面中-JSP in memory generated pictures of pages
- 2022-07-10 19:33:09下载
- 积分:1
-
一个棋类小游戏 ,还没完善,先穿上去大家看看吧 是Java语言 android开发平台...
一个棋类小游戏 ,还没完善,先穿上去大家看看吧 是Java语言 android开发平台-a chessgame,have not complete,but carryon
- 2022-02-07 00:16:34下载
- 积分:1
-
清华大学 郑莉 java程序设计基础 课程实验
第七章
清华大学 郑莉 java程序设计基础 课程实验
第七章-Zheng Li, Tsinghua University java programming experiments Chapter VII of the Basic Course
- 2022-01-23 11:07:20下载
- 积分:1
-
宾管管理系统
还是一个满不错的例子,初学者可以多参考参考...
宾管管理系统
还是一个满不错的例子,初学者可以多参考参考-Bin control management system is a good example of age, beginners can refer to reference
- 2022-07-04 00:07:21下载
- 积分:1
-
JSP pdg格式学习教程
JSP pdg格式学习教程-JSP PDG study guide format
- 2022-03-29 16:44:20下载
- 积分:1
-
used to prepare the file upload and download system. (1) The first copy of the d...
用jsp编写的文件上传与下载系统。(1)先将com目录拷贝到webappsROOTWEB-INFclasses下,然后重新启动Tomcat
(2)输入http://localhost:8080/chap21/upload.html进行上传。-used to prepare the file upload and download system. (1) The first copy of the directory com webapps ROOT WEB-INF classe s, then restart Tomcat (2) input http://localhost : 8080/chap21/upload.html for uploads.
- 2022-07-08 03:50:43下载
- 积分:1
-
java多线程聊天程序GUI界面socket实现
java多线程聊天程序GUI界面socket实现-java chat program GUI multi-threaded socket interface to achieve
- 2022-03-14 15:37:47下载
- 积分:1