Kizspy | Question: 22
(Choose 1 answer)
Which of the following statements is TRUE about method overriding in Java?
A. An overriding method can have a different return type than the method it overrides, as long as the new
return type is a subtype of the original return type.
B. An overriding method must have the same name, parameter list, and return type as the method it overrides.
C. An overriding method must have less restrictive access than the method it overrides.
D. Methods that are declared final cannot be overridden.