Professional Documents
Culture Documents
Pattern
Pattern
Command Pattern
Strategy Pattern
1) In strategy pattern an interface is defined and a method call back other method of
interface .
Template pattern
1) In template pattern an abstract is defined and a method call back other method of
interface .
Singleton
FactoryPattern
ProtoType Pattern
o Target Interface: This is the desired interface class which will be used by
the clients.
o Adapter class: This class is a wrapper class which implements the desired
target interface and modifies the specific request available from the Adaptee
class.
o Adaptee class: This is the class which is used by the Adapter class to reuse
the existing functionality and modify them for desired use.
o Client: This class will interact with the Adapter class.
Composite pattern
2) Composite object also has collection of entities . when implemented is called . it calls
that method on entire collection.
Proxy Pattern
Flyweight Pattern
Faade pattern
Interface for set of interface