|
Does a program have to catch and handle exceptions? A good answer might be:No---until this chapter none of the programs have done so. |
NumberFormatException
Here is the program that had a problem with bad input data.
The problem is that
Our program, however, does not have any code to deal with this exception, so the Java virtual machine stopped our program and printed out a trace of what went wrong. |
QUESTION 4:Click Here after you have answered the question |