Why can we not override static method?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is an interoperable application in java ?

0 Answers   HCL,


What is parameter example?

0 Answers  


how can you retrive information from database by using hashmap/arraylist ,plz explain with example briefly?

1 Answers   Satyam,


how to connect one jsp page to another jsp page????

6 Answers   IIT, Symphony,


Given: 10. interface A { void x(); } 11. class B implements A { public void x() { } public voidy() { } } 12. class C extends B { public void x() {} } And: 20. java.util.List list = new java.util.ArrayList(); 21. list.add(new B()); 22. list.add(new C()); 23. for (A a:list) { 24. a.x(); 25. a.y();; 26. } What is the result? 1 Compilation fails because of an error in line 25. 2 The code runs with no output. 3 An exception is thrown at runtime. 4 Compilation fails because of an error in line 20.

3 Answers  






what is platform native code

2 Answers   i3 Solutions,


What is starvation?

0 Answers  


how do you store phone numbers using java collections

5 Answers   Bosch, IBAB,


Is singleton thread safe in java?

0 Answers  


Is there a sort function in java?

0 Answers  


List the interfaces which extends collection interface?

0 Answers  


What language is pass by reference?

0 Answers  


Categories