Design patterns are reusable solutions to recurring software-design problems. Java's OOP nature and ecosystem make several patterns especially common — knowing them helps you recognize, communicate, and apply proven structures. They fall into creational, structural, and behavioral categories.
Singleton (creational) — one shared instance
{
();
{}
Config { INSTANCE; }
}
