Pregunta de entrevista de SAP

What is difference between Singleton and Static.

Respuesta de la entrevista

Anónimo

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