Question 9Asked in Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)

What is the term for the ability of a class to provide different implementations of aइनपुट मापदंडों के आधार पर एक विधि के विभिन्न कार्यान्वयन प्रदान करने के लिए एक वर्ग की क्षमता के

What is the term for the ability of a class to provide different implementations of a method based on the input parameters?
इनपुट मापदंडों के आधार पर एक विधि के विभिन्न कार्यान्वयन प्रदान करने के लिए एक वर्ग की क्षमता के लिए शब्द क्या है?
  1. AOverloadingओवरलोडिंग
  2. BPolymorphismबहुरूपता
  3. CInheritanceवंशानुक्रम
  4. DEncapsulationएनकैप्सुलेशन
Show answerHide answer

Correct answer: (A) Overloadingओवरलोडिंग

Explanation

Overloading means defining several methods with the same name but different parameter lists; the version called depends on the arguments passed. It is a form of compile-time polymorphism.Overloading का अर्थ है एक ही नाम की कई मेथड बनाना जिनकी पैरामीटर सूची अलग हो; कौन सी चलेगी यह दिए गए आर्गुमेंट पर निर्भर करता है। यह compile-time polymorphism का रूप है।

From Bihar STET 2025 Paper II Computer Science PYQ, 3 Nov 2025, Shift 1 (9:00 AM)

This is question 9 of Bihar STET 2025 Paper II Computer Science PYQ, 3 Nov 2025, Shift 1 (9: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.