Syntax error Does finally always execute in Java?

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: 2019-07-30T22:30:20+05:30

400 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements