Course contentsShow
Java
Lesson 476 of 2,87011. Polymorphism and Dynamic DispatchPro lesson

Covariance vs Parameter Contravariance

Understanding why return types can be covariant but parameter types cannot be contravariant in Java method overriding.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.