- Java 11 Tutorial
- Java 11 - Home
- Java 11 - Overview
- Java 11 - Environment Setup
- Java 11 - Standard HttpClient
- Java 11 - Compile free Launch
- Java 11 - String APIs
- Java 11 - Collections to Array
- Java 11 - File APIs
- Java 11 - Optional Class
- Java 11 - Not Predicate
- Java 11 - var in lambda
- Java 11 - Nest Based Access
- Java 11 - Removed/Deprecated API
- Java Other Versions Tutorials
- Java Tutorial
- Java 8 Tutorial
- Java 9 Tutorial
- Java 10 Tutorial
- Java 12 Tutorial
- Java 13 Tutorial
- Java 14 Tutorial
- Java 15 Tutorial
- Java 16 Tutorial
- Java 11 Useful Resources
- Java 11 - Quick Guide
- Java 11 - Useful Resources
- Java 11 - Discussion
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Java 14 - Overview
Java 11 is the first LTS , Long Term Support feature release after Java 8. It followed the Java release cadence introduced Java 10 onwards and it was released on Sept 2018, just six months after Java 10 release.
Java 9 and Java 10 are non-LTS release. Java 11 release is a LTS release.
Following are the major new features which are introduced in Java 11.
JEP 321 − HTTP Client API standardized.
JEP 330 − Launch Single-File Source-Code Programs without compilation
JEP 323 − Local-Variable Syntax for Lambda Parameters
JEP 181 − Nest-Based Access Control
JEP 331 − Low-Overhead Heap Profiling
JEP 318 − Epsilon, A No-Op Garbage Collector
JEP 333 − ZGC A Scalable Low-Latency Garbage Collector
Collection API Updates − New Collection.toArray(IntFunction) Default Method.
String API Updates − New methods added like repeat(), isBlank(), strip() and lines().
Files API Updates − New methods added like readString(), and writeString().
Optional Updates − New method added, isEmpty().
Java 11 enhanced numerous APIs with new methods and options and removed deprecated APIs and options. We'll see these changes in next chapters.