Question: 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 2
Suppose you are running a door-making broker business. You dont create the doors on your own, rather delegate the task of door creation to the appropriate door-maker after taking the door requirements from your clients. Based on the clients needs, pass their requirements to the appropriate door-maker 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 door-maker to make the door. After the door-maker 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!