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
R. Srilekha has become the first Women DGP of Which State?
Integrated Defence Staff celebrated its 20th Raising Day on which day?
The Bilateral Navy Exercise Bongosagar is being Conducted between the Indian Navy with the Navy of which country?
Who has become the new Labour Secretary?
Defense Ministry has signed a Rs. 400 crore contract with which company, for supplying ten lakh hand grenades?
Atal Tunnel is the world longest highway tunnel above 10000 ft. The tunnel was recently dedicated to the nation by PM Modi in which state?