Pakistan's best MCQs practice hub — FPSC · PPSC · CSS · NTS · Other Exams
Login

Which creational design pattern provides a mechanism to create objects by cloning or copying an existing instance rather than instantiating via new operator?

APrototype Pattern
BBuilder Pattern
CFactory Method Pattern
DSingleton Pattern

Explanation

The Prototype pattern creates new objects by copying an existing prototype instance, avoiding expensive creation steps.

Submitted by: mcqstutor Team More Software Engineering MCQs →

No Comments

Leave a comment

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