--> output line1 Sunny
--> output line2 Shower
--> output line3 Beach Time
Reason:--> The main() function call the static method caller() inside try block.
In the first line, it prints the "Sunny" and goes to next line. In next line if condition becomes true so it throws the OtherException and calls the constructor of OtherException class and print the message "Shower" in next line (Which is output 2) and since the try block throwing the OtherException So it goes to catch block and print the "Beach Time " in line 3.
In case, If condition of Caller() function becomes false, It will not throw an exception and catch block will not be executed.
thanks................
If you need any help regarding this solution, Please leave a comment.....................
CIS 265 Summer 2018-Qui Name:rsh inor e csuID: 142358 Given the lav a program below, please...