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

Clone Method and Covariant Returns

Why Object.clone returns Object and how subclasses commonly override it to return their own type covariantly.

This lesson is for subscribers

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