Question 10Asked in Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 2 (2:00 PM)

Which concept allows a class to inherit properties and behaviors from multipleकौन सी अवधारणा एक वर्ग को कई वर्गों से गुणों और व्यवहारों को विरासत में लेने की अनुमति देती है?

Which concept allows a class to inherit properties and behaviors from multiple classes?
कौन सी अवधारणा एक वर्ग को कई वर्गों से गुणों और व्यवहारों को विरासत में लेने की अनुमति देती है?
  1. AEncapsulationएनकैप्सुलेशन
  2. BInheritanceवंशानुक्रम
  3. CPolymorphismबहुरूपता
  4. DMultiple Inheritanceमल्टीपल इनहेरिटेंस
Show answerHide answer

Correct answer: (D) Multiple Inheritanceमल्टीपल इनहेरिटेंस

Explanation

Multiple inheritance is the specific feature where one class inherits from more than one parent class (e.g. class C(A, B) in Python). Plain "inheritance" only means deriving from a base class.Multiple inheritance वह विशेष सुविधा है जिसमें एक क्लास एक से अधिक parent क्लास से विरासत लेती है (जैसे Python में class C(A, B))। सादा "inheritance" केवल base क्लास से व्युत्पन्न होना है।

From Bihar STET 2025 Paper II Computer Science PYQ, 3 Nov 2025, Shift 2 (2:00 PM)

This is question 10 of Bihar STET 2025 Paper II Computer Science PYQ, 3 Nov 2025, Shift 2 (2:00 PM). 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.