Question
4. Fill in the blanks with the appropriate design pattern for the given descriptions: (a) The _____________________________ design pattern defines a family of algorithms, encapsulates
4. Fill in the blanks with the appropriate design pattern for the given descriptions:
(a) The _____________________________ design pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable.
(b) The _____________________________ design pattern treats individual objects and whole-part hierarchies of objects uniformly.
(c) The _____________________________ design pattern ensures that a class has only one instance, and provides a global point of access to it.
(d) The _____________________________ design pattern allows the requester of a particular action to be decoupled from the object that performs the action.
(e) The _____________________________ design pattern defines the skeleton of an algorithm in an operation, and defers some steps to client subclasses.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started