1.

Why should a method be overridden in Java instead of writing a method with a different name?

A. Large projects heavily depend on inheritance
B. The code-base refers to the same method with the same method signature in different classes of the project
C. It is not possible to change the method calling code at all occurrences of the project. It may break the whole project.
D. All the above.
Answer» E.


Discussion

No Comment Found