79. 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
✅ 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.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top