Examveda

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

D. To create JavaBeans

Answer: Option C


This Question Belongs to Java Program >> Miscellaneous In Java

Join The Discussion

Related Questions on Miscellaneous in Java