0
Can we decleare a static method or a static class as abstract?
Is it possible in java to declare a static method() and a static class as abstract?
1 Resposta
+ 1
No, because static methods are perfect class members. They are not involved in inheritance & are loaded into the memory when the class loads in the memory for the 1st time along with the static main(String... args) method. While an abstract method has to be inherited by a concrete class so that it can be accessed. Same goes for static inner class.