Examveda
Examveda

What does the `finally` block in a Java `try-catch-finally` construct do?

A. It creates JavaBeans

B. It executes SQL queries

C. It defines JavaBean properties

D. It contains code that is always executed, regardless of whether an exception is thrown or not

Answer: Option D


This Question Belongs to Java Program >> Miscellaneous In Java

Join The Discussion

Related Questions on Miscellaneous in Java