Does finally always execute in Java?


The finally block follows a try block or a catch block. A finally block of code always executes, irrespective of occurrence of an Exception.

Updated on: 30-Jul-2019

302 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements