What are covariant return types?

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.

Questions by Preeti Yadav   answers by Preeti Yadav

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions