मराठी

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×