What is the advantage of abstract class?
The advantages of an abstract class are:
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
The advantages of an abstract class are:
- Ability to specify default implementations of methods.
- Added invariant checking to functions.
- Have slightly more control in how the “interface” methods are called.
- Ability to provide behavior-related or unrelated to the interface for “free”
need an explanation for this answer? contact us directly to get an explanation for this answer