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

Which behavioral design pattern encapsulates a request as an object, thereby letting you parameterize clients with queues, requests, and operations?

AState Pattern
BIterator Pattern
CTemplate Method Pattern
DCommand Pattern

Explanation

The Command pattern decouples the sender of a request from its receiver by encapsulating the action inside an object.

Exam Relevance
  • Topic: Software Design Patterns
  • Subtopic: Behavioral Patterns
Submitted by: mcqstutor Team More Software Engineering MCQs →

No Comments

Leave a comment

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