Polymorphism is feature of —
2019
Polymorphism is feature of —
- A.
Procedural programming
- B.
SQL
- C.
Non-procedural programming
- D.
Object Oriented Programming
- E.
None of these
Attempted by 473 students.
Show answer & explanation
Correct answer: D
Polymorphism is a fundamental concept in Object Oriented Programming (OOP) that allows objects to take on multiple forms. It enables a single interface to represent different underlying forms (data types). For example, a method can behave differently based on the object that invokes it. This is achieved through features like method overriding and method overloading. Polymorphism is not a feature of procedural, SQL, or non-procedural programming, as these paradigms do not support object-based structures. Therefore, polymorphism is a key feature of Object Oriented Programming.
हिन्दी उत्तर: पॉलीमॉर्फिज्म ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग (OOP) की एक मूलभूत अवधारणा है जो वस्तुओं को विभिन्न रूपों में लेने की अनुमति देती है। यह एक एकल इंटरफेस को विभिन्न आंतरिक रूपों (डेटा प्रकारों) का प्रतिनिधित्व करने की अनुमति देता है। उदाहरण के लिए, एक विधि वस्तु के आधार पर अलग-अलग तरीके से काम कर सकती है। यह विधि ओवरराइडिंग और विधि ओवरलोडिंग जैसी विशेषताओं द्वारा प्राप्त की जाती है। प्रोसीजरल, SQL या गैर-प्रोसीजरल प्रोग्रामिंग में पॉलीमॉर्फिज्म का समर्थन नहीं होता है, क्योंकि ये पारदर्शी पारदर्शी वस्तु-आधारित संरचनाओं का समर्थन नहीं करते हैं। इसलिए, पॉलीमॉर्फिज्म ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग की एक महत्वपूर्ण विशेषता है।