Java Developer Question: Download Java Developer PDF

What is the purpose of finally clause of a try-catch-finally statement in Java Programming?

Tweet Share WhatsApp

Answer:

The finally clause is used to provide the capability to execute code no matter whether or not an exception is thrown or caught.

Download Java Developer PDF Read All 63 Java Developer Questions
Previous QuestionNext Question
Described locale class in Java Programming?Described the purpose of the wait(), notify(), and notifyAll() methods in Java Programming?