What is a behavioral design pattern?
Behaviorial design patterns focus on improving the communication between different objects. Following are different types of behavioral patterns:
1. Chain Or Responsibilities Pattern - In this pattern, objects communicate with each other depending on logical decisions made by a class.
2. Command Pattern - In this pattern, objects encapsulate methods and the parameters passed to them.
3.Observer Pattern - Objects are created depending on an events results, for which there are event handlers created.
No comments:
Post a Comment