A. Inheritance
B. Composition
C. All of the mentioned
D. None of the mentioned
✅ The correct answer is option C.
Explanation: Using inheritance, an existing design pattern becomes a template for a new subclass.Composition is a concept that leads to aggregate objects.
Explanation: Using inheritance, an existing design pattern becomes a template for a new subclass.Composition is a concept that leads to aggregate objects.