singleton pattern

1 topic · 1 source

Technology› Programming

Java

A pattern that allows us to ensure that only a single instance of a particular class exists at any one time. Such an instance is called a singleton. The pattern can also be used when instances would have no unique state and would behave identically.

Cite this definition

APA
MLA
Chicago