Home > Java Programming > Exceptions > Questions and Answers
Q: |
Given: 1. // some code here 2. try{ 3. // some code here 4.} catch (SomeException se) { 5. // some code here 6.} finally { 7. // some code here 8.} Under which three circumstances will the code on line 7 be executed? (Choose three.) A. The instance gets garbage collected. B. The code on line 3 throws an exception. C. The code on line 5 throws an exception. D. The code on line 1 throws an exception. E. The code on line 3 executes successfully. | ||||||||||
|
Comment on this Question | |
Name: | |
|