-
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
-
创建中间企业对象层,是企业应用开发在企业对象基础上进行。...
创建中间企业对象层,是企业应用开发在企业对象基础上进行。-created among enterprises object layer is the development of enterprise application targeted at the enterprise basis.
- 2022-04-17 05:28:29下载
- 积分:1
-
JavaME无线编程教程
JavaME
无线
教程
JavaME无线编程教程
JavaME
无线
教程
-JavaME Wireless Wireless Tutorial
JavaME
Tutorial
Programming
- 2022-08-02 16:00:11下载
- 积分:1
-
是一个简单的两机通讯程序,用JAVA实现的,
是一个简单的两机通讯程序,用JAVA实现的,-is a simple two-communication program with JAVA,
- 2022-02-26 06:58:28下载
- 积分:1
-
简单的Java的图形界面设计。没太大技术含量。
简单的Java的图形界面设计。没太大技术含量。-Java simple graphical interface design. Not too much technical content.
- 2022-03-14 04:12:19下载
- 积分:1
-
java 核心技术 让你更了解java,对网络编程人员非常有帮助
java 核心技术 让你更了解java,对网络编程人员非常有帮助-java core technology to allow you a better understanding of java
- 2023-04-01 08:30:04下载
- 积分:1
-
大厦游览图,通过命令行来实现
System.out.println("where 显示当前在什么地方")
System.out.println("...
大厦游览图,通过命令行来实现
System.out.println("where 显示当前在什么地方")
System.out.println("list 列出当前位置的物品")
System.out.println("list allspots 列出大厦内所有地点")
System.out.println("list spots 列出当前位置附近的地点")
System.out.println("list goods 列出当前位置的物品")
System.out.println("goto someplace 到另一个地点")
System.out.println("look somegoods 查询某个物品是否在当前地点")
System.out.println("help 命令行帮助")
System.out.println("exit 退出命令行") -Building Tour map, through the command line to achieve System.out.println (
- 2022-01-28 07:17:55下载
- 积分:1
-
Java Games adventure cave source code, resource files, you have interest in runn...
Java游戏山洞历险源代码,附有资源文件,有兴趣调试运行一下,记得以前有一段打字游戏类似这个。-Java Games adventure cave source code, resource files, you have interest in running debugging, remember that there is a typing game similar to this.
- 2023-03-06 23:45:04下载
- 积分:1
-
english is pool
java对CA方面的编程,有实例, java对CA方面的编程,有实例-english is pool
- 2023-02-13 17:05:04下载
- 积分:1
-
sliding doors type of menu [] [suggested amending a total of two infantry]
推拉门式样的菜单[根据提示修改][共2步]-sliding doors type of menu [] [suggested amending a total of two infantry]
- 2022-02-04 21:22:52下载
- 积分:1