Vidyalelo
Java Programming · Q22

Constructors and Methods

Programming · Java Programming · question 22

Q22

What is method hiding in Java?

A.
Defining a new method with the same name in a subclass
Answer
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

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board