1. Introduction
In this article, We will learn
what are the new features of Java 13 that are added to JDK 13.
Download JDK 13 from the
Oracle official website.
Now we are going to learn about the following new changes step by step. Before that, you may have a question that "
Is really JDK 13 has major changes?". Because a new java release is expected for every six months. So, Raising this question is common.
Answer to this question is "no" changes are very minor. This does not impact the core developers. Except who closely works on CDS, ZGC, Socket API, and switch expressions (It is good to know).
Below is the complete list of changes in JDK 13.
JEP 350: Dynamic CDS Archives
JEP-351: ZGC: Uncommit Unused Memory
JEP-353: Reimplement the Legacy Socket API
JEP-354: Switch Expressions (Preview) (developer feature)
JEP-355: Text Blocks (Preview) (developer feature)
From this list, the first 3 changes can be used directly but the last two are in preview (developer feature). So, We can not use them directly. You will understand how to use the preview functionalities as we go through them each.