The finally Block

This lesson explains ‘finally,’ which is an optional block of the try-catch statement.

The finally block #

finally is an optional block of the try-catch statement. It includes expressions that should be executed regardless of whether an exception is thrown or not. To see how ...

Access this course and 1400+ top-rated courses and projects.