When is the finally block executed?
A. when there is no exception
B. when there is an exception
C. only if some condition that has been specified is satisfied
D. always
Answer:A
When is the finally block executed?
A. when there is no exception B. when there is an exception C. only if some condition that has been specified is satisfied D. always
Explanation: The finally block is always executed.