1.

What is the process of defining a method in a 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 mentionedThis question was posed to me in unit test.My enquiry is from Method overriding topic in portion Inheritance of Java

Answer» CORRECT ANSWER is (B) METHOD overriding

Explanation: NONE.


Discussion

No Comment Found

Related InterviewSolutions