Kizspy | Question: 29
(Choose 1 answer)
How does method overriding work in polymorphism?
A. By defining a new method in a derived class that has a different name than the base class method.
B. By providing a new implementation of a virtual method in the derived class using the override keyword.
C. By replacing the base class method in the derived class without the override keyword.
D. By defining a method in the derived class that accepts a different number of parameters.