Multiple choice technology architecture

A class of which only a single instance can exist is also known as _______?

  1. Prototype

  2. Builder

  3. Singleton

  4. None of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The Singleton pattern ensures that a class can have only one instance and provides a global point of access to that instance. It's used when exactly one object is needed to coordinate actions across a system.