Does finally always execute in Java?

Java 8Object Oriented ProgrammingProgramming

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

raja
Updated on 30-Jul-2019 22:30:20

Advertisements