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

Join The Discussion