Question

What is the purpose of the finally block in exception handling?

A It is executed when an exception occurs.
B It is used to handle the exception.
C It is executed regardless of whether an exception occurs or not.
D It is used to re-throw the exception.
Practice Next

Relevant for Exams:

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)