Home > Java Programming > Exceptions > Questions and Answers
Q: |
1. try{ 2. // some code here 3.} catch (NullPointerException e1) { 4. System.out.print("a"); 5.} catch (Exception e2) { 6. System.out.print("b"); 7.} finally { 8. System.out.print("c"); 9.} If some sort of exception is thrown at line 2, which output is possible? | ||||||||||||||
|
Comment on this Question | |
Name: | |
|