which three circumstances will the code on line 37 be executed?

Given:
31. // some code here
32. try {
33. // some code here
34. } catch (SomeException se) {

35. // some code here
36. } finally {
37. // some code here
38. }
Under which three circumstances will the code on line 37 be executed? (Choose three.)

Given:
31. // some code here
32. try {
33. // some code here
34. } catch (SomeException se) {

35. // some code here
36. } finally {
37. // some code here
38. }
Under which three circumstances will the code on line 37 be executed? (Choose three.)

A.
The code on line 35 throws an exception.

B.
The instance gets garbage collected.

C.
The code on line 31 throws an exception.

D.
The code on line 33 executes successfully.

E.
The code on line 33 throws an exception.



Leave a Reply 0

Your email address will not be published. Required fields are marked *