-
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.
-
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.
Please Turn OFF your ad blocker
- OR -
LOGIN to continue using GeekInterview website.