Java Coffee Mug History ~ Java is a high-level programming language that has been around for a long time since its release. And now almost anyone uses it now, it’s only a small percentage of those people who know the history of the cup. Do you even know the history of it? well, in fact… the story is rather interesting as you’ll find out.
There’s a method in java that is used to “split” string into pieces, the split is based on a given regular expressions and a return char array. There are 2 type of syntax that can be used for Java Split Method, (for a fun fact java split method is available since java 1.4).
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 :