SAP interview question

What is difference between Singleton and Static.

Interview Answer

Anonymous

11 Aug 2025

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