What is the term for creating a new class based on an existing class?मौजूदा वर्ग के आधार पर एक नया वर्ग बनाने के लिए क्या शब्द है?
मौजूदा वर्ग के आधार पर एक नया वर्ग बनाने के लिए क्या शब्द है?
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 की प्रॉपर्टी और मेथड मिलती हैं।