Skip to content

What is Covariant Return Type in Java

Top Post on IndiBlogger

3
  • Vinay Nagaraju
  • Soma sekhar
What is Covariant Return Type in Java

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


Popular Articles by this blogger