Computer Applications

Which of the following principles uses base and derived classes?

  1. Encapsulation
  2. Inheritance
  3. Polymorphism
  4. Data hiding

OOP Intro Java

7 Likes

Answer

Inheritance

Reason — Inheritance is the principle that uses base and derived classes. The class that inherits properties is called the derived class (or subclass), while the class from which it inherits is called the base class (or superclass).

Answered By

5 Likes


Related Questions