Vidyalelo
Java Programming · Q39

Miscellaneous Java

Programming · Java Programming · question 39

Q39

What is the primary purpose of the `finally` block in a Java exception handling structure?

A.
To define JavaBean properties
B.
To execute SQL queries
C.
To ensure that certain code is always executed, regardless of whether an exception is thrown or not
Answer
D.
To create JavaBeans

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board