1.

What are the advantages of Method Overriding in Java?

A. A subclass can add extra functionality to the overriding method.
B. A subclass can call both the overridden method and overriding method.
C. It supports polymorphism. A superclass reference can be used to call the common method of all subclasses.
D. All the above
Answer» E.


Discussion

No Comment Found