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.

Sai Subramanyam
Sai Subramanyam

Passionate, Curious and Enthusiastic.

Updated on: 30-Jul-2019

284 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements