_______ is the process of creating a new class from an existing class in OOP.

  • Abstraction
  • Encapsulation
  • Inheritance
  • Polymorphism
Inheritance is the process of creating a new class from an existing class in OOP. It allows a new class (subclass or derived class) to inherit the properties and behavior of an existing class (superclass or base class).
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *