Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: What is the difference between 'finally' block and 'final' keyword?
Answer: 'finally' is used in exception handling to define a block of code that will be executed whether an exception is thrown or not. 'final' is a keyword used to apply restrictions on class, method, and variable.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook