What does the term "method overriding" refer to in OOP?

PYQ Bihar STET 2024

What does the term "method overriding" refer to in OOP?

  1. A.

    Creating multiple methods with the same name in a class

  2. B.

    Defining a method in a derived class with the same name as in the base class

  3. C.

    Reimplementing all methods in a class hierarchy

  4. D.

    Defining private methods in a class

Attempted by 549 students.

Sign up free to check your answer

Sign up free

Explore the full course: Bihar Stet Computer Science Complete Course

Loading lesson…