R

Ram Avtar Sharma • 4.50K Points
Extraordinary

Q. What is method hiding in Java?

  • (A) Defining a new method with the same name in a subclass
  • (B) Making a method private in a subclass
  • (C) Redefining a method with a different return type
  • (D) Defining a method with the same name in the superclass
  • Correct Answer - Option(A)
  • Views: 108
  • 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.


Question analytics