0
abstract class
Are Datafields of a abstract method public or private to extending classes?
3 Respostas
+ 2
Sanoj yes abstract methods must be implemented in their immediate concrete child class.
+ 1
they are public to extending classes..
an abstract method can be just the signature or can be implemented meaning it can have a body.. this is then inherited by the sub class exactly the same way you would inherit a method from a super class.
0
so the only reason to make an abstract class is to make it nessesary to override the abstract methods in the subclass?