Hey, tea lovers! Let us see what Java is providing to keep up with the latest trend or requirement. I will be going over the things I think has really improved the productivity of the developer since Java 11. We will talk about Java 11 only since it is LTS (Long Term Support) version and many people are using this only until next LTS. Make your tea to sip and code with Java 11.

Change Is Constant

As you know, Java has settled on a unique release strategy, every 6 months a new version will be released. Not only that, but the licensing is also changed. To use Oracle JDK, you need a separate license for production, however, you can use it free for development purposes. No worries, You can also use OpenJDK as an opensource option. I myself is using OpenJDK.

Ok, back to the latest version. At the time of this post latest version is 14 and 15 is in the release phase. But it has improved a lot and many new functionalities get added into the language, both at the user level and JVM. All the release will be supported for 6 months and every 3 years i.e after 6 versions an LTS version will be released. Latest LTS is 11 and next will be 17. So many organizations look for the LTS support, that’s why they are using Java 11 and we are talking about it. To install java 11 please follow Install Latest or Any Java Version in 3 Simple Steps: Windows and simply use Java 11 instead of 13. I will be adding a new post for Mac and Linux as well.

From Previous Java Versions

Java 11 has many new features on its own. But I had like to talk about a few features from the previous versions. One of them is the keyword. No need for LHS=RHS for references. Jshell is also a great addition to compete with other language’s REPL. The module system also makes it more concise, I would say. I loved the improvements in the Stream API. I will talk about this in detail in some other post, so stay tuned to CodersTea.com.

Ok then, back to Java 11, here we go.

String in Java 11

Numerous functions were added in the String class in Java 11. But I will stick to the ones I think we use most often. Let’s look at them one by one.

#java #latest #change #java 11 #constant

The Things I Love and Use from Java 11
1.25 GEEK