Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are trying to add a class already written in another application to serve clients, beside other classes, in your system. All other classes have

You are trying to add a class already written in another application to serve
clients, beside other classes, in your system. All other classes have the same
interface, the incoming class has a totally different interface than the clients
expect, but contains all required functionalities.
What kind of refactoring is needed to make this class fit in with minimum
changes in your system? Give the name of the design pattern that you are
planning to use in this system.
a)
Bridge
b)
Composite
c)
Observer
d)
Adapter
Leave blank
image text in transcribed

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_2

Step: 3

blur-text-image_3

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

Database Processing Fundamentals Design And Implementation

Authors: KROENKE DAVID M.

1st Edition

8120322258, 978-8120322257

More Books

Students also viewed these Databases questions