- Category:
- Java Develop
- Tags:
-
- File Size:
- 10kb
- Update:
- 2017-12-27
- Downloads:
- 0 Times
- Uploaded by:
- 朱之林
Description: 1. design a class that handles complex numbers, with at least two member methods: complex plus and plural subtraction. Two static methods are added to the above class: the modulus of a complex number and the complex angle of a complex number.
Design a subclass that inherits the above class and has at least two methods of its own: plural multiplication and plural division. 2., write a line segment class MyLine. The following requirements are as follows: the main attributes are: X, y; type Point (view API) to write the construction method, such as MyLine (Point P1, Point P2) to write 5 member methods.
To Search:
File list (Check if you may need any files):