Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Design Patterns 2 Suppose you are running a door - making broker business. You don t create the doors on your own, rather delegate the
Design Patterns
Suppose you are running a doormaking broker business. You dont create the doors on your own, rather delegate the task of door creation to the appropriate doormaker after taking the door requirements from your clients. Based on the clients needs, pass their requirements to the appropriate doormaker to make the requested door. For example, if the requirement calls for a steel door, the final output will be a steel door object. Similarly, if the client calls for a wooden door, you would give the door to the wooden doormaker to make the door. After the doormaker has created and provided you the desired door, you would then pass the created door back to your client. The user is not concerned with the door creation mechanism, but rather, the user merely delegates the system to produce the final door object as per the users requirement. Which design pattern should be used to produce such door objects?
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