When a method in a subclass has the same name and type signatures as a method in the superclass, then the method in the subclass ______ the method in the superclass?
Answers
Answered by
3
What is the process of defining a method in subclass having same name & type signature as a method in its superclass?
a) Method overloading
b) Method overriding
c) Method hiding
d) None of the mentioned
View Answer
Answer: b
a) Method overloading
b) Method overriding
c) Method hiding
d) None of the mentioned
View Answer
Answer: b
Similar questions
CBSE BOARD XII,
8 months ago
Math,
8 months ago
Sociology,
1 year ago
English,
1 year ago
Computer Science,
1 year ago
English,
1 year ago