Which mechanism is applied to use a design pattern in an OO system?

Which mechanism is applied to use a design pattern in an OO system?
A. Inheritance
B. Composition
C. All of the mentioned
D. None of the mentioned
 
Answer: c
Explanation: Using inheritance, an existing design pattern becomes a template for a new subclass.Composition is a concept that leads to aggregate objects.
 

Tìm kiếm

Back
Top