What would happen if the try statement described in the previous exercise were moved to the level2 method?

What will be an ideal response?

If the try statement were moved from the level1 method to the level2 method, the exception thrown in level3 would propogate only to level2, where it would be caught and handled. The level2 method would then be allowed to finish execution.

Computer Science & Information Technology

You might also like to view...

Setting up a home network using wireless connections is creating a _____.

a. VPN b. LAN c. WAN d. mini-Internet

Computer Science & Information Technology

A one-variable data table changes one value in a formula using input from a row or column

Indicate whether the statement is true or false.

Computer Science & Information Technology