![]() |
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.