Beginner Object-Oriented Programming Concepts
Q13 / 100

What is "method overriding"?

Correct! Well done.

Incorrect.

The correct answer is B) A subclass providing its own implementation of a method already defined in its parent class

B

Correct Answer

A subclass providing its own implementation of a method already defined in its parent class

Explanation

Overriding lets a subclass replace the inherited behavior of a method with its own version, supporting runtime polymorphism.

Progress
13/100