G

Gopal Sharma • 38.32K Points
Coach

Q. What is method overriding in Java?

  • (A) Making a method static
  • (B) Hiding a superclass method
  • (C) Redefining a superclass method in a subclass to provide a specific implementation
  • (D) Creating a new method with the same name in a subclass
  • Correct Answer - Option(C)
  • Views: 26
  • Filed under category JAVA

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.


Question analytics