|
Learning objectives:After completing this project, you should be able to:
Items in red are learning objectives for this part of the project. |
Group work
| DefiningYourOwnClasses report
| Time limit
|
DefiningYourOwnClasses project and report. JOptionPane for all required input and output (I/O) in this project (you are free to use whatever method you prefer for other I/O).Complex class. double parameters and uses them as the real and imaginary components of the object. Complex object without providing the real and imaginary components?double parameters and uses them as the magnitude and argument of the object?String parameter and parses it to obtain the real and imaginary components of the object. You should assume that the parameter has the form <double>+<double>i. You will need to use the indexOf method of the String class. DefiningYourOwnClasses2.