Pergunta de entrevista da empresa Cisco

Describe the singleton design pattern, and the factory pattern.

Resposta da entrevista

Sigiloso

28 de jun. de 2012

The singleton pattern is a design pattern that restricts the instantiation of a class to one object.This is useful when exactly one object is needed to coordinate actions across the system.