SAP Interview Question

What is difference between Singleton and Static.

Interview Answer

Anonymous

Aug 11, 2025

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