Why we cannot declare abstract methods as private or static?

In Java, an abstract method is a method that is declared without an implementation.  You cannot declare an abstract method as private or static. A private method is only visible to the class that declares it and therefore cannot be implemented in the subclass. A static method, on the other
hand, is executed in the class that declares it rather than the class instances.

Cite:
– http://docs.oracle.com/javase/tutorial/java/IandI/abstract.html 
– http://stackoverflow.com/questions/370962/why-cant-static-methods-beabstract-in-java

Leave a Reply