Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  
 

Why doesn't Java allow overriding of static methods?

Ads

 
 

Share on Google+Share on Google+

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

Why doesn't Java allow overriding of static methods?

Ads
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


Ads