Question: Suppose we are writing a library based on a Math interface supporing some algebraic operations, and we would like to take advantage of a library
Suppose we are writing a library based on a Math interface supporing some algebraic operations, and we would like to take advantage of a library based on a PolynomialMath interface written by a vendor, to support polynomial operations. Which of the following design patterns is most suitable to use in our design?
Question Answer
a
Adapter
b
Abstract Factory
c
Singleton
d
Factory
e
Builder
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
