dcsimg

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.