Design pattern is a general solution of building a software as a template that can be used in many different situations.
Design Pattern are divided into some fundamental groups as:
These patterns are represent as mechanism of communication between objects. With this pattern, increasing flexibility in carrying out of communcation.
There are several type of behavioral patterns are:
These patterns are represent as mechanism of creating an objects. This pattern was created because of the problem in designing an object. With this pattern, they encapsulating knowledge which concrete classes are used and hide how instances of classes are created and combined.
There are 5 well-known of creational pattern:
These patterns are represent as mechanism of identifying a relationship between objects and entities.
There are several type of structural patterns are: