What is singleton and what its usage

  • Thread starter Thread starter Tridip
  • Start date Start date
T

Tridip

Guest
we know singleton means one instance creation but i want to understand what is real usage of singleton?

what is advantage of singleton design pattern and in what kind of scenario it make sense?

without singleton we can do our job by static class. give me some sample scenario where people would always go for singleton design pattern.

please discuss this topic in details with few sample code and scenario. thanks

Continue reading...
 
Back
Top