Java Coder
Does finally always execute in Java?
1 Answer(s)      a year and 4 months ago
Posted in : Java Beginners

Does finally always execute in Java?

Advertisement
View Answers

December 24, 2013 at 3:35 PM


The finally block always called in Java. But if you call System.exit(), the finally block will not be called.