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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!