What will be the result if NullPointerException occurs at line 2?
1. try{ 2. //some code goes here 3. } 4. catch(NullPointerException ne){ 5. System.out.print("1 "); 6. } 7. catch(RuntimeException re){ 8. System.out.print("2 "); 9. } 10. finally{ 11. System.out.print("3"); 12. }
A.1
B.3
C.43134
D.43103
Answers
Answered by
0
options C is correct according to this statement
Answered by
23
C. 43134
Hope it helps u
Hope it helps u
Similar questions
Physics,
6 months ago
Math,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
English,
1 year ago