Question: Choose the statement which is correct The try block has the program code which may or may not have error code. The catch block catches
Choose the statement which is correct
The try block has the program code which may or may not have error code.
The catch block catches the exception that occurs in the Java program
The throw statement will throw an exception irrespective of whether there is an error or not in a program.
All of the above
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
