English

A mechanism where one class acquires the properties of another class: - Computer Applications

Advertisements
Advertisements

Question

A mechanism where one class acquires the properties of another class:

Options

  • Polymorphism

  • Inheritance

  • Encapsulation

  • Abstraction

MCQ

Solution

Inheritance

Explanation:

Inheritance is an OOPS property in which a child class acquires the properties and functions of another class called as the parent/base class.

shaalaa.com
Principles of Object Oriented Programming (OOP)
  Is there an error in this question or solution?
2022-2023 (March) Official
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×