What is meant by method overriding?
No Answer is Posted For this Question
Be the First to Post Answer
What are peerless components?
Can a method be static?
What is final keyword?
Can we increase array size dynamically in java?
what is the use of StringBuffer?
What class allows you to read objects directly from a stream?
What is class forname used for?
What is difference between == and === in js?
Can you call a method on a null object?
11. static class A { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B extends A { 15. void process() { System.out.println(”B”); } 16. } 17. public static void main(String[] args) { 18. new B().process(); 19. } What is the result? 1 B 2 The code runs with no output. 3 Compilation fails because of an error in line 12. 4 Compilation fails because of an error in line 15.
What is the biggest integer?
What is left shift and right shift?