Have any questions?
[email protected]
English
Vietnamese
French
Spanish
Korean
Japanese
Thai
Chinese
Login
Signup
Contact
Login
Home
Define an interface for creating an object, but let the subclasses decide which class to instantiate.
Question 1:
Define an interface for creating an object, but let the subclasses decide which class to instantiate. It let the instantiation differ to subclasses.
A.
Factory Method
B.
Abstract Factory
C.
Builder
D.
Prototype
These questions are from this test. Would you like to take a practice test?
Design Patterns Quiz 1 | Englishfreetest.com
20 minutes
10 questions
Do test
Some questions from the same exam
Attach additional responsibilities to an object dynamically. It provides a flexible alternative to subclassing for extending functionality.
Which of the following represents The (static) structure and (dynamic) behavior of the pattern?
Which of the following Chooses and standardizes patterns for a problem domain promotes software reuse and hence, quality and productivity?
Define one to many dependency between objects so that when one object change state, all its dependent are notified and updated automatically.
Which of the following is not one of the elements of a design pattern?
Define an interface for creating an object, but let the subclasses decide which class to instantiate. It let the instantiation differ to subclasses.
Define a family of algorithms, encapsulate each one, and make them interchangeable. It lets the algorithm vary independently from clients that use it.
Encapsulate a request as an object, there by letting you parametrize clients with different requests, queue or log requests, and support undoable operation.
Which of these are the part of 253 patterns in pattern book by Alexander?
Which of the following describes the Facade pattern correctly?
Some other questions you may be interested in
______ I admire David as a poet, I do not like him as a man.
Considering the present birth rate, the prediction that the world population will decrease in the near future simply does not _________.
The professor reminded me of what I would ______ have forgotten.
-- Do you think we can get there on time?-- Yes, ______ the car doesn't break down.
Whether you believe it or not, it is _________ that causes your illness.
________twice a year, whether it is a car or a truck, is the rule that every driver must obey in this city.