In the object-oriented system, we use relationship to express that a larger “whole” class includes one or more smaller “partial” classes.
A: generalization
B: aggregation
C: inheritance
D: composition
A: generalization
B: aggregation
C: inheritance
D: composition
举一反三
- 中国大学MOOC: In the object-oriented system, we use relationship to express that a larger “whole” class includes one or more smaller “partial” classes.
- Object-oriented programming allows you to derive new classes from existing classes. This is called ____________. A: encapsulation B: inheritance C: abstraction D: generalization
- An object-oriented database is one that is congruent with the data defined in object classes and sub classes.
- ______ is a property of object—oriented software by which an abstract operation may be performed in different ways in different classes. A: Method B: Polymorphism C: Inheritance D: Encapsulation
- 中国大学MOOC: ________is used to express the relation between a class and one or more detailed classes, i.e., the relation between “general” and “special”.
