Which approach is utilized to implement a design pattern within an object-oriented system?

Design and Implementation MCQs for PPSC, FPSC, NTS, and Pakistan government job tests. Select an option below, then read the explanation.

PPSCFPSCNTSPakistan govt jobs
Subject
Design and Implementationsoftware-engineering-mcqs › design-and-implementation
Published
5 Feb 2019
Last updated
28 May 2026

Browse all Design and Implementation MCQs

Choose the correct answer

Explanation

Design patterns in object-oriented systems are applied using both inheritance and composition. Inheritance allows a new class to extend an existing pattern, while composition enables the creation of complex objects by assembling simpler components.

PakQuizHub — free MCQs and past papers for Pakistan government job tests. Content is for educational practice only.