Singleton | MCQs

    Q1: In the context of software design patterns, what does the Singleton pattern ensure?

    سافٹ ویئر ڈیزائن پیٹرن کے تناظر میں، سنگلٹن پیٹرن کیا یقینی بناتا ہے؟
    • A. A class has only one instance and provides a global point of access to it
    • B. None of these
    • C. A class can be instantiated only once per thread
    • D. A class can be subclassed only once
✅ Correct: 0 | ❌ Wrong: 0 | 📊 Total Attempted: 0