Question: Enter what Statement #1 and Statement #2 should be and briefly explain why: . try { // myDumbMethod() could result in a various general exceptions
Enter what "Statement #1" and "Statement #2" should be and briefly explain why:
. try { // myDumbMethod() could result in a various general exceptions or an IOException.
this.myDumbMethod(); } // Statement #1 { System.out.println(except.getMessage()); } // Statement #2 { System.out.println(except.getMessage()); } ...
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
