Pergunta de entrevista da empresa SAP

What is difference between Singleton and Static.

Resposta da entrevista

Sigiloso

11 de ago. de 2025

Singleton is a design pattern, mostly allocated in heap not in stack whereas static is a language feature and stored in call stack