Chapter 4 Flashcards
What is generalization
A base class represents general behavior of different distinct classes.
Does IS A relationship important in inheritance
Yes
What is sub typing
Behavior compatibility of base and drive class is sub typing. The use of drive class in place of base class and behavior does not change.
What is specialization
Specialization is reverse of sub typing. Specialization means that derived class is behaviorally incompatible with the base class. It means base class can not always be replaced by the derived class.
What is over riding
The drive class has its own behavior that over ride default behavior of base class. Specialization is related to over riding.
Can we instantiate abstract class
No
What are concrete classes
Drived classes from abstract class that can be instantiate