Java throwing exceptions Exercise
|
||
|
Throwing exceptions
In this exercise, the square root program written earlier will be extended to detect when the answer might be an imaginary number.
(An imaginary number is the square root of a negative number.)
Here is some partially implemented code that will need to be completed: |
||
