Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Java (http://siteownersforums.com/forumdisplay.php?f=12)
-   -   What is covariant return type? (http://siteownersforums.com/showthread.php?t=348711)

Pavan Techn 05-29-2018 08:24 AM

What is covariant return type?
 
Now, since java5, it is possible to override any method by changing the return type if the return type of the subclass overriding method is subclass type. It is known as covariant return type


All times are GMT -7. The time now is 12:18 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.