Singleton is used in application when we want to store consistent unique data in an object disallowing creating a new instances of this object in the same time.
Here are the bullet points that defines Singleton.
Here are the bullet points that defines Singleton.
- cannot be instantiated (private constructor instead of public)
- cannot be inherited (sealed class)
- public static instance has to be available across the whole application
Singleton concept is quite popular in mobile apps and video games, less in web/desktop applications.
Here is a simple example of Singleton usage.
I like the information. Good work and keep update more.
ReplyDeleteManual Testing Training in Chennai
Manual Testing Training institute in Chennai
Manual Testing Training in Tambaram
Mobile Testing Training in Chennai
mobile automation testing training in chennai
Drupal Training in Chennai
Photoshop Classes in Chennai
Photoshop Course in Chennai
Its really an Excellent post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog. Thanks for sharing....
ReplyDeleteangular js training in chennai
angular js online training in chennai
angular js training in bangalore
angular js training in hyderabad
angular js training in coimbatore
angular js training
angular js online training