+ 1
Can abstract classes have static and final methods?
1 Antwort
+ 5
Methods inside an abstract class are abstract. Methods cannot both be static and abstract because they are two different access modifiers for the method. Additionally, if you declare an abstract class, you can declare a final method, however, it cannot be both abstract and final at the same time. Hope this helps. :)