Which option would be chosen to create only one object of a class
a) Singleton pattern ( make the constructor private and static method as public )
OR
b) with the help of global variable (is it possible?)
Singleton is a really a design pattern or it is a monolithic solution?