हिंदी

It is a feature in which a derived class is being able to access data/methods of its base class:

Advertisements
Advertisements

प्रश्न

It is a feature in which a derived class is being able to access data/methods of its base class:

विकल्प

  • Encapsulation

  • Inheritance

  • Polymorphism

  • Abstraction

MCQ
Advertisements

उत्तर

Inheritance

Explanation:

  • Inheritance is an OOP feature in which a derived class can access the data members and methods of its base class.
  • It helps in code reusability by allowing one class to acquire the properties and behaviour of another class.
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1: Revision of Class 9 Syllabus - Exercises [पृष्ठ ४३]

APPEARS IN

रुपा पंडित Computer Applications [English] Class 10 ICSE
अध्याय 1 Revision of Class 9 Syllabus
Exercises | Q 1. (xv) | पृष्ठ ४३
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×