When is the finally clause of a try-catch-finally statement executed | Eklavya Online

When is the finally clause of a try-catch-finally statement executed

The finally clause of the try-catch-finally statement is always executed unless the thread of execution terminates or an exception occurs within the execution of the finally clause.