-
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
-
J2EE, J2EE There are so many things that we mull the other ink
J2EE项目,里面有很多J2EE的东西,大家看吧,别墨迹了-J2EE, J2EE There are so many things that we mull the other ink
- 2022-01-25 14:46:56下载
- 积分:1
-
一些java源代码,包括一些游戏等等所有的练习
java 的一些源码,包括一些游戏等等,供大家练习-Some of java source code, including some games and so on for all to practice
- 2023-03-02 09:45:04下载
- 积分:1
-
基于TCP的简单聊天工具,有保存聊天记录和查看聊天记录功能...
基于TCP的简单聊天工具,有保存聊天记录和查看聊天记录功能-Simple TCP-based chat tools, have save your chats and view chat history feature
- 2022-04-13 11:40:48下载
- 积分:1
-
一个利用java编写的EJB 的应用实例。
一个利用java编写的EJB 的应用实例。-use a java prepared by the EJB application.
- 2022-04-06 18:08:06下载
- 积分:1
-
一本十分值得学习的java 入门实例教程,详细地讲解初级java的学习之路。...
一本十分值得学习的java 入门实例教程,详细地讲解初级java的学习之路。-a java book for senior learner.
- 2022-06-26 14:40:24下载
- 积分:1
-
的videotransmit类是一个简单的包装,可以进行编程,以视频…
The VideoTransmit class is a simple wrapper that can be programmed to take video input from a source of your choice and transmit the video to a destination computer or network in JPEG format. - The VideoTransmit class is a simple wrapper that can be programmed to take video input from a source of your choice and transmit the video to a destination computer or network in JPEG format.
- 2022-03-29 17:18:50下载
- 积分:1
-
java基础编程示例2
java基础编程示例2-java based programming paradigm 2
- 2022-02-04 11:51:03下载
- 积分:1
-
博客完成java使用struts.hibernate.spring。框架。直接检测…
用JAVA完成的BLOG采用STRUTS.HIBERNATE.SPRING.框架.直接用ECLIPSE导入就可以发布运行.调试.-BLOG completed with JAVA using STRUTS.HIBERNATE.SPRING. Framework. Directly ECLIPSE import operation can be released. Debug.
- 2022-02-13 21:56:26下载
- 积分:1
-
java的语音通信,很好的处理 java两个客户端之间的通信
java的语音通信,很好的处理 java两个客户端之间的通信-java voice communication, a good deal with java client communication between the two
- 2022-04-24 11:14:01下载
- 积分:1