-
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
-
此为连接池实现程序
此为连接池实现程序-for this procedure Connection Pool
- 2023-08-05 10:40:04下载
- 积分:1
-
本人的工作流模型管理器与算法控制程序包,带资源文件,JB工程包...
本人的工作流模型管理器与算法控制程序包,带资源文件,JB工程包-my work flow model for the management and control algorithm package, with resource files, JB Engineering Pack
- 2022-07-05 13:23:46下载
- 积分:1
-
java生成xml,model,jsp,主要用于springside+struts+ibatis
java生成xml,model,jsp,主要用于springside+struts+ibatis-java generate xml, model, jsp, mainly used for springside+ struts+ ibatis
- 2022-08-18 21:57:11下载
- 积分:1
-
尚学堂 课程代码 我好不容易才在 论坛里找到的 大家共赏啊
尚学堂 课程代码 我好不容易才在 论坛里找到的 大家共赏啊 -School curriculum is still the code I finally found it in the forum where you Gongshang ah
- 2023-05-24 05:15:02下载
- 积分:1
-
java的计算器
java的计算器-java calculator
- 2022-05-05 16:40:39下载
- 积分:1
-
使用jbuilder开发j2se程序,十个例子
使用jbuilder开发j2se程序,十个例子-use JBuilder Java development process, the 10 examples
- 2023-08-20 20:25:04下载
- 积分:1
-
俄罗斯方块的java源码
可以运行,本人已经测试过了。可以无误的运行,虽然有点简单。但对于初学java的人来说还是不错的选择...
俄罗斯方块的java源码
可以运行,本人已经测试过了。可以无误的运行,虽然有点简单。但对于初学java的人来说还是不错的选择-Russian box can run the java source code, I have been tested before. Can be error-free operation, though a bit simple. But for beginners or for those who java a good choice
- 2023-06-14 09:55:04下载
- 积分:1
-
java编写的求职系统
java编写的求职系统-prepared by the Employment System
- 2022-07-25 00:23:00下载
- 积分:1
-
邮件的Webmail版本JSP、JavaBean、Servlet模式
邮件系统webmail版,jsp+javabean+servlet模式实现-mail webmail version jsp javabean servlet Mode
- 2022-12-23 21:35:04下载
- 积分:1