____ is not one of the nine object-oriented principles.
A: Encapsulate what varies.
B: Responding to change over following a plan.
C: Program to interfaces, not implementations
D: Favor composition over inheritance.
A: Encapsulate what varies.
B: Responding to change over following a plan.
C: Program to interfaces, not implementations
D: Favor composition over inheritance.
举一反三
- Which of the following is NOT one of the 3 characteristics of object-oriented programming? A: extensibility B: inheritance C: encapsulation D: polymorphism
- 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
- 中国大学MOOC: Object-oriented analysis and design are two important phases in software development, _______ of the following doesn’t belong to object –oriented analysis.
- The expression of cultural universals varies from culture to culture, but it does not change over time within a society. ( )
- What did the hijackers demand? A: Over one million dollars and a helicopter. B: Over one million dollars’ worth of drug. C: Over one million dollars to buy a helicopter. D: Over one million dollars to help their drug-addicted friends.