what is covarlant return type?
Answers
Answered by
0
Answer:
In object-oriented programming, a covariant return type of a method is one that can be replaced by a "narrower" type when the method is overridden in a subclass. ... This usually implies that the return types of the overriding methods will be subtypes of the return type of the overridden method
Answered by
0
Answer:
I hope it's helpful thanks
Attachments:
Similar questions