What is Covariant Return Type in Java

Top Post on IndiBlogger
3

If the return type of overriding method in the subclass is a subtype of the declared return type of overridden method instead of being exactly the same type, it is known as covariant return types in Java.

Read this post on scientecheasy.com


DEEPAK KUMAR GUPTA

blogs from Dhanbad