English

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

Advertisements
Advertisements

Question

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

Options

  • Encapsulation

  • Inheritance

  • Polymorphism

  • Abstraction

MCQ
Advertisements

Solution

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
  Is there an error in this question or solution?
Chapter 1: Revision of Class 9 Syllabus - Exercises [Page 43]

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 1 Revision of Class 9 Syllabus
Exercises | Q 1. (xv) | Page 43
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×