Types of design patterns
- Fundamental are the basic building blocks of other templates. Most of the other templates use these templates in one form or another.
- Creational patterns are design patterns that abstract the instantiation process. They allow you to make the system independent of the way objects are created, composed and presented. The parenting template uses inheritance to modify the generated object, and the parenting template delegates the creation of objects to another object.
- Structural templates define various complex structures that change the interface of an existing object or its implementation, making it easier to develop and optimize a program.
- Behavioral patterns define the interaction between objects, thus increasing its flexibility.
Read also:
- Where and what is the abstract modifier used for
- What is a Design Pattern
- Concept of "interface" in Java
Comments
Post a Comment