- Category:
- Java Develop
- Tags:
-
[Java]
[源码]
- File Size:
- 978byte
- Update:
- 2008-10-13
- Downloads:
- 0 Times
- Uploaded by:
Description: 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)"
File list (Check if you may need any files):