Q22
What is method hiding in Java?
A.
Defining a new method with the same name in a subclass
AnswerB.
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