Question: SR 11.16 An I/O exception, the InputMismatchException, will occur during the main method of the CreatingExceptions program (see Listing 11.5) if the user enters

SR 11.16 An I/O exception, the InputMismatchException, will occur during the main method of the CreatingExceptions program (see Listing 11.5) if the user enters an alphabetic character. Why doesn't the main method definition include a throws InputMismatchException clause?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
