Question OOP-POLY-0004
EasyWhat is method overriding?
- A.
Defining two methods with the same name but different parameters in one class
- B.
Deleting a parent method
- C.
Show answer and explanation
Answer: C
The overriding method has the same name and parameters as the parent method.