If you aim to prevent the use of multiple inheritance in your design, which pattern is most appropriate to apply?

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

The Role-Player Pattern is specifically designed to avoid the complexities of multiple inheritance by allowing objects to assume various roles dynamically, making it the best choice in this context.

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