2 is wrong. method can be overloaded only in the same class
Each method in a parent class can be overridden at most once in any of its subclasses
Originally posted by Soumy Sam:
This qn is posted in one of the mocks..
becoz as far as 1 question is concerned it would have been true if the qn is
"Each method in a parent class can be overridden at most once in any of its subclasses"
Correct me if i am wrong with the interpretation of the question..
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton