In Java, the finally block:
Show answerHide answer
Correct answer: (B) Executes whether or not an exception occurs
Explanation
Except when System.exit() is called.
Correct answer: (B) Executes whether or not an exception occurs
Explanation
Except when System.exit() is called.
This is question 139 of DSSSB TGT Computer Science Full Mock Test 5. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.