-
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
-
一个用JAVA编写的多线程小球运动的东西,希望大家能对多线程运行的原理以及优先级等问题有更深入的理解...
一个用JAVA编写的多线程小球运动的东西,希望大家能对多线程运行的原理以及优先级等问题有更深入的理解-with Java to prepare a multi-threaded ball movement things, I hope you will run right multithreading, and the principle of priority issues such as a more in-depth understanding
- 2022-02-04 22:02:21下载
- 积分:1
-
java多线程聊天程序GUI界面socket实现
java多线程聊天程序GUI界面socket实现-java chat program GUI multi-threaded socket interface to achieve
- 2022-03-14 15:37:47下载
- 积分:1
-
这里一个用java写成的时钟的程序,从系统标准时间中读取目前准确时间,并用用户界面显示,有时针,分针,秒针的走动显示....
这里一个用java写成的时钟的程序,从系统标准时间中读取目前准确时间,并用用户界面显示,有时针,分针,秒针的走动显示.-Here a clock written using java procedure, from the system time accurately read the current time, and the user interface shows that the clock, minute hand, second hand show the movement.
- 2022-01-31 18:12:46下载
- 积分:1
-
Optimal binary tree data structure of Huffman encoding realize, for reference on...
数据结构中最优二叉树Huffman编码的实现,仅供参考-Optimal binary tree data structure of Huffman encoding realize, for reference only
- 2023-02-17 08:35:03下载
- 积分:1
-
这是一个用Java语言编的一个小程序,主要教java初学者如何使用java语言,本例实现使用栈的例程...
这是一个用Java语言编的一个小程序,主要教java初学者如何使用java语言,本例实现使用栈的例程-This is a use of the Java language in a series of small procedures, the java java beginners how to use the language, the use of cases to achieve the stack routines
- 2022-05-10 13:45:02下载
- 积分:1
-
一个以jbuilder9.0开发的房产管理系统,已经通过测试,能够良好运行...
一个以jbuilder9.0开发的房产管理系统,已经通过测试,能够良好运行-Jbuilder9.0 the development of a property management system, has passed the test, to the good functioning
- 2022-01-25 23:48:50下载
- 积分:1
-
一个救人的手机小游戏,在游戏中详细的规则说明.
一个救人的手机小游戏,在游戏中详细的规则说明.-save a small cell phone game, the game shows the detailed rules.
- 2023-05-17 05:20:03下载
- 积分:1
-
java 电子书
java 电子书-java e-books
- 2022-07-20 23:30:43下载
- 积分:1
-
ssh整合做的商品购物里的一个模块
ssh整合做的商品购物里的一个模块...
ssh整合做的商品购物里的一个模块
ssh整合做的商品购物里的一个模块-struts1.x spring2.x hiberante3.x
- 2022-03-05 04:36:10下载
- 积分:1