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

What is the term for creating a new class based on an existing class?मौजूदा वर्ग के आधार पर एक नया वर्ग बनाने के लिए क्या शब्द है?

मौजूदा वर्ग के आधार पर एक नया वर्ग बनाने के लिए क्या शब्द है?
  1. AOverridingअभिभावी
  2. BImplementingकार्यान्वयन
  3. CInheritingविरासत में
  4. DOverloadingओवरलोडिंग
Show answerHide answer

Correct answer: (C) Inheritingविरासत में

Explanation

Creating a new class (subclass) from an existing class (base class) is inheritance; the new class gets the properties and methods of the base.मौजूदा क्लास (base class) से नई क्लास (subclass) बनाना inheritance है; नई क्लास को base की प्रॉपर्टी और मेथड मिलती हैं।

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

This is question 72 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.