Java | Exception Handling | Question 2
Got the Test Exception Inside finally block
Got the Test Exception
Inside finally block
(D) Compiler Error
Explanation: In Java, the finally is always executed after the try-catch block. This block can be used to do the common cleanup work. There is no such block in C++.
Quiz of this Question