Types of Design Patterns
Type Design Pattern Description Creational Singleton Ensures a class has only one instance. Factory Method Defines an interface for creating objects but lets subclasses decide the instantiation. Abstract Factory Provides an interface for creating families of related objects. Builder Separates object construction from its representation. Prototype ...