What is the term for creating a new class based on an existing class?

2025

What is the term for creating a new class based on an existing class?

  1. A.

    Overriding

  2. B.

    Implementing

  3. C.

    Inheriting

  4. D.

    Overloading

Attempted by 164 students.

Show answer & explanation

Correct answer: C

Inheritance is an OOP concept where a new class derives properties and behaviors from an existing class.

It enables code reuse, hierarchical classification, and extensibility, making it the correct term for creating a class based on another.

Explore the full course: Bpsc