What Is Java Covariant Type?
Howdy Mowdy People? Have you ever override a method by changing its return type? Well for y’all that is already a pro in Coding may know this type of overriding, but for those who is still a green horn in coding, just like me :’D maybe. This kind of method overriding is called Java Covariant Return Type, which is not available until Java5 came out.
Here ok, let me just show you a simple presentation of this Covariant Type :
The programming language that I specialize in is Java, because I think Java programming language is more universal and of course because I like it regardless of any reason.