Java Coder
Why doesn't Java allow overriding of static methods?
1 Answer(s)      a year and 7 months ago
Posted in : Java Beginners

Why doesn't Java allow overriding of static methods?

Advertisement
View Answers

December 24, 2013 at 1:49 PM


Basically, a Method overriding in java means a subclass method overriding a super class method. However, method overriding depends on having an instance of a class.
Go through the given tutorials that explains the method overriding in Java. Java method Overriding
Example of static method