2326
GB
Which OOP concept allows same method to work differently based on object type?
IN
कौन सी OOP अवधारणा ऑब्जेक्ट प्रकार के आधार पर एक ही विधि को अलग-अलग तरीके से काम करने की अनुमति देती है?
A
Inheritance
विरासत
B
Encapsulation
कैप्सूलीकरण
C
Polymorphism
बहुरूपता
D
Abstraction
मतिहीनता
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
Polymorphism allows the same interface to behave differently for different object types.
व्याख्या (हिन्दी)
बहुरूपता एक ही इंटरफ़ेस को विभिन्न ऑब्जेक्ट प्रकारों के लिए अलग-अलग व्यवहार करने की अनुमति देता है।