Answered step by step
Verified Expert Solution
Link Copied!

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 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Database Systems For Integration Of Media And User Environments 98

Authors: Yahiko Kambayashi, Akifumi Makinouchi, Shunsuke Uemura, Katsumi Tanaka, Yoshifumi Masunaga

1st Edition

9810234368, 978-9810234362

More Books

Students also viewed these Databases questions