Etiqueta: singleton

Java design patterns, first part. Creational design patterns (Factory method, Singleton and Builder pattern)

Design patterns were developed as solutions for common problems that every developer faces. Design patterns are classified based on their main purpose; a design pattern may be any of the following types:  Creational patterns  Structural patterns  Behavioral patterns In this post, we are primarily focused on creational patterns […]