Why doesn't Java allow overriding of static methods?

Why doesn't Java allow overriding of static methods?

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









Related Tutorials/Questions & Answers:
Advertisements