Question
Question 1 In the adapter pattern, the adapter is an intermediary which is custom fit for a specific existing interface and client True False Question
Question 1 In the adapter pattern, the adapter is an intermediary which is custom fit for a specific existing interface and client
True
False
Question 2 The adaptor pattern changes the original interface of the program to make it work with a new situation
True
False
Question 3 In the adapter pattern, the new client is written to match the old target
True
False
Question 4 The adaptrr pattern allows new behavior to be added without altering existing code
True
False
Question 5 An Abstract factory is an interface as opposed to a factory which is built as an abstract class.
True
False
Question 6 The adaptor pattern wraps the existing interface into another interface which works for a new problem.
True
False
Question 7 The factory pattern provides an interface for creating families of related or dependent objects without specifying their concrete classes.
True
False
Question 8 The intent of the decorator and adapter pattern is the same
True
False
Question 9 In the Dependency Inversion Principle, we depend on concrete classes, not on abstractions.
True
False
Question 10 When using composition adapters, the adapter uses composition to reach the adaptee, and interface implementation to reach the target.
True
False
Question 11 In the adapter pattern, the new client is aware of the old interface
True
False
Question 12 A class adapter uses (multiple) inheritance.
True
False
Question 13 We use the facade pattern to simplify an existing interface
True
False
ANSWER ALL PLEASE
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