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
Answer: Option A

Join The Discussion