Tag: java static override

Can we override static method in Java with Example?

July 24, 2014 · 2 min read
The **super class static methods cannot be overridden by sub class** because they do not represent the state of the object or with static methods no [encapsulation](http://way2java.com/oops-concepts/three-great-principles-%e2%80%93-data-binding-data-hiding-encapsulation/) exists. For this reason, the super class static methods are not part of subclass. When they are not part of subclass, they cannot be overridden.