Millionaire Mode
Design Patterns - J2EE and GoF Patterns
Question 1 of 15
What is a Decorator pattern?
- decouple an abstraction from its implementation so that the two can vary independently
- One class takes in another class, both of which extend the same abstract class, and adds functionality.
- Assembles group of objects with same signature
- One class controls the creation of and access to objects in another class.
Prize Money
15₹7 Crores
14₹1 Crore
13₹50,00,000
12₹25,00,000
11₹12,50,000
10₹6,40,000
9₹3,20,000
8₹1,60,000
7₹80,000
6₹40,000
5₹20,000
4₹10,000
3₹5,000
2₹2,000
1₹1,000