Can static methods be overridden?
Answer Posted / sonu
No never we cannot override the static methods becouse overriding is done only run time and static methods get memory at compile time and static things not the part of object.
| Is This Answer Correct ? | 19 Yes | 4 No |
Post New Answer View All Answers
Explain about field hiding in java?
Why is boolean important?
Can we create an object of static class in java?
What is the similarity between dynamic binding and linking?
Do I need to import java.lang package any time? Why?
What is functional interface in javatpoint?
What is sorting in java?
Why synchronization is important in java?
What does 3 dots mean in java?
Why are there no global variables in java?
What is files manifesting?
Can we override singleton class?
What is the difference between compile-time polymorphism and runtime polymorphism?
How many types of literals are there in JAVA?
What is the preferred size of a component in java programming?