Solved

What Happens in a Method If There Is an Exception

Question 35

Multiple Choice

What happens in a method if there is an exception thrown in a try block but there is no catch block following the try block?


A) The program ignores the exception.
B) The program will not compile without a complete try/catch structure.
C) The program terminates immediately.
D) The program throws an exception and proceeds to execute the finally block.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents