Question d’entretien chez Teranet

Can overridden methods return a different data type?

Réponse à la question d'entretien

Utilisateur anonyme

17 avr. 2020

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