In Java, method overriding requires:
Show answerHide answer
Correct answer: (A) The same method signature in the subclass
Explanation
Overriding gives run-time polymorphism.
Correct answer: (A) The same method signature in the subclass
Explanation
Overriding gives run-time polymorphism.
This is question 138 of DSSSB TGT Computer Science Full Mock Test 5. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.