Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2
Finally block will execute even if you put a return statement in the try block or catch block but finally block won’t run if you call System.exit() from try or catch block. 
19th May 2019, 11:55 AM
Vaishnavi Rajkumar Pawar