Teranet interview question

Can overridden methods return a different data type?

Interview Answer

Anonymous

Apr 17, 2020

No, but they can return a subtype of the return data type in the base class.