A

Admin • 828.03K Points
Coach

Q. 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 of the above
  • Correct Answer - Option(D)
  • Views: 8
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.