Can a constructor be made final?
Can we override final method?
Can we return null in java?
What are the types of methods in java?
Can we have more than one package statement in the source file?
Is string a data type in java?
What is the difference between serial and throughput garbage collector?
How can you add and remove nodes in jtree?
what is the difference between ArrayList and Vector
19 Answers KPIT, Sasken, Satyam, Span Infotech, Wipro,
Can you call a private data from an inner class?
Is there any limitation of using inheritance?
How objects of a class are created if no constructor is defined in the class?
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