Structural patterns prescribe the organization of classes and objects. These patternsare concerned with how classes inherit from each other or how they are composedfrom other classes.Common structural patterns include Adapter, Proxy, and Decorator patterns. Thesepatterns are similar in that they introduce a level of indirection between a client classand a class it wants to use. Their intents are different, however. Adapter usesindirection to modify the interface of a class to make it easier for a client class to useit. Decorator uses indirection to add behavior to a class, without unduly affecting theclient class. Proxy uses indirection to transparently provide a stand-in for anotherclass.
Java
Topic: Design pattern
What are the structural patterns ?
Browse random answers:
What is the design pattern?
Do I have to use the design pattern?
How many design patterns?
What is the relationship among these patterns?
What is a software design pattern?
What is an analysis pattern?
What are the differences between analysis patterns and design patterns?
What is Singleton pattern?
Explain the Observer pattern?
Explain the Strategy and Template patterns?
Explain the Single Thread Execution pattern in concurrency patterns?
What are the structural patterns ?
Explain the Adapter pattern?
Expain the Proxy and Decorator patterns?
Explain the Composite pattern?
What are Behavioral patterns?
Explain the Observer pattern?
Explain the strategy and template patterns
Explain the concurrency patterns?
Explain the Single thread execution pattern?
Explain Design Patterns template?
Explain Patterns in Java template?