tell me some common
Answers were Sorted based on User's Feedback
Answer / mayank
Simply use throws Exception in front of every method
Is This Answer Correct ? | 0 Yes | 0 No |
What are different access specifiers in java? Explain
tell me some common
What are exceptions
what is the volatile modifier for? : Java thread
How do you remove duplicates in java?
how to java plateform independent?
Explain the scope of a variable.
What are the characteristics of java?
What is local declaration?
33. try { 34. // some code here 35. } catch (NullPointerException e1) { 36. System.out.print(”a”); 37. } catch (RuntimeException e2) { 38. System.out.print(”b”); 39. } finally { 40. System.out.print(”c”); 41. } What is the result if a NullPointerException occurs on line 34? 1 c 2 a 3 ab 4 ac
Why should we use java?
What do you mean by checked exceptions?