Have any questions?
[email protected]
English
Vietnamese
French
Spanish
Korean
Japanese
Thai
Chinese
Indonesian
Login
Signup
Contact
Login
Home
Attach additional responsibilities to an object dynamically.
Question 1:
Attach additional responsibilities to an object dynamically. It provides a flexible alternative to subclassing for extending functionality.
A.
Chain of responsibility
B.
Adapter
C.
Decorator
D.
Composite
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
Which country has signed agreement with UNICEF to supply pneumonia vaccine to low-income nations at affordable rates?
Which eclipse is to be witnessed on 21 June,2020 in India?
Which Indian state/UT is set to have the world's largest Covid-19 care facility?
Labour Ministry partnered with which firm to launch an online 'Career Skills training' on National Career Service portal?
National Geographic channel in collaboration with Drinking Water Ministry has released a film about which government scheme?
What was the growth in real Gross Domestic Product (GDP) of India in the year 2019-20?