DEV Community

Cover image for Singleton Pattern | Design Patterns in Java
coder4life
coder4life

Posted on

Singleton Pattern | Design Patterns in Java

Creational design pattern: Watch a Java implementation of the Singleton Pattern, where we use double-checked-locking (DCL) for thread-safety.

Discussion (0)