मैंने कुछ बार यह समझने की कोशिश की है कि सिंगलटन क्या है। शायद मैं बहुत ही दृश्यमान हूं .. तो क्या कोई इसे सरल सादृश्य में तोड़ सकता है।हाँ .. मुझे पता है .. मैं एक साधारण हूँ .. तो सिंगलटन क्या है?
इसी प्रकार के पोस्ट:
- Different ways to initialize singletons
- Singleton: How should it be used
- Is this a good use of the Singleton pattern?
- What is so bad about singletons?
- Singleton: How should it be used
- Singletons: good design or a crutch?
- Global vs Singleton in .NET
- On Design Patterns: When to use the Singleton?
- Singleton with Arguments in Java
- What is an efficient way to implement a singleton pattern in Java?
- What's Alternative to Singleton
- Most common examples of misuse of singleton class वर्ग
- https://stackoverflow.com/questions/1395766/asp-net-objectdatasource-singleton
- Using Singleton vs Single Call in .NET Remoting?
- what is a singleton class? Can it help me running single instance of a class for two related services?
हर जगह सिंगलेट्स का उपयोग शुरू करने से पहले, कृपया यह पोस्ट भी पढ़ें: http://stackoverflow.com/questions/137975/what-is-so-bad-about-singletons :-) –
सी ++ में, यदि आप घोषित करते हैं परिवर्तनीय 'स्थिर' के रूप में, आप प्रभावी रूप से एक सिंगलटन बना रहे हैं। – slashmais