What are covariant return types?

John Zukowski

A method in a subclass returning an object whose type is a subclass of the type returned by the method with the same signature in the superclass.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.