Question 56Asked in Bihar STET 2024 Paper II Computer Science, 12 Jun 2024, Shift 1 (10:00 AM)

What is polymorphism in OOP?ओओपी में बहुरूपता क्या है?

ओओपी में बहुरूपता क्या है?
  1. AUsing abstract classes onlyकेवल अमूर्त कक्षाओं का उपयोग करना
  2. BThe ability of objects to take on multiple formsवस्तुओं की कई रूपों को लेने की क्षमता
  3. CA type of inheritanceवंशानुक्रम का एक प्रकार
  4. DA method with no implementationबिना किसी कार्यान्वयन के एक विधि
Show answerHide answer

Correct answer: (B) The ability of objects to take on multiple formsवस्तुओं की कई रूपों को लेने की क्षमता

Explanation

Polymorphism ("many forms") lets one interface or method name behave differently depending on the object, through method overloading (compile time) or overriding (run time).Polymorphism ("कई रूप") एक ही interface या method नाम को ऑब्जेक्ट के अनुसार अलग व्यवहार करने देता है, method overloading (compile time) या overriding (run time) के माध्यम से।

From Bihar STET 2024 Paper II Computer Science PYQ, 12 Jun 2024, Shift 1 (10:00 AM)

This is question 56 of Bihar STET 2024 Paper II Computer Science PYQ, 12 Jun 2024, Shift 1 (10:00 AM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.