Which of the following is true about the finally clause in exception handling?
A. The code in the finally block always executes, regardless of whether an exception is raised or not
B. The finally block should always come before the try block
C. The finally block is optional
D. The code in the finally block executes only if an exception is caught
Answer: Option A

Join The Discussion