Can you override static method in java?

Answer Posted / sagar kathane

yes we can override static methods in java. and it is called method hiding because it hides parent method and reflex whatever changes have been done in child class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an immutable class? How to create an immutable class?

544


Does java initialize arrays to zero?

512


Tell us something about set interface.

570


Is java pass by value or pass by reference?

541


Is java 1.7 the same as java 7?

542






What is the difference in between cpp and java? Can u explain in detail?

613


What is java and why do we need it? Explain

587


Can we force the garbage collection to run?

540


Explain working of call by reference function invoking.

594


What are the classes of java?

543


Can keyword be used as identifier?

551


How to display all the prime numbers between 1 and 100

509


What is double data type?

541


What is hashset in java?

537


Can we override the static methods?

578