What's New In Java (9, 10, 11)
Online Training References
- Training Page
- Reference
- Course Video
- Livre : Modern Java Recipes
- Blog : https://kousenit.org/
- Video : Java 8 and 9 Fundamentals: Modern Java Development with Lambdas, Streams, and Introducing Java 9’s JShell and the Java Platform Module System (JPMS)
- Video : Advanced Java Development
- Java Doc 11
Java 8 is a major version but 9, 10, and 11 are not. Not a big jump to move from 8 to 11
Java 11 is a Long Term Support (LTS) release for the Java standard edition, meaning bug fixes and security patches will be available for at least the next three years (see the extensive Java Is Still Free post at for details about the future licensing arrangements)
Collection factory methods
- List.of(a, b, b, c, …)
- Set.of(a, b, b, c, …)
- Map.of(k1, v1, k2, v2, k3, v3, …)
- Map.ofEntries(
- Map.entry(k1, v1),
- Map.entry(k2, v2),
- Map.entry(k3, v3), …)
Private Methods in Interfaces
Both default and static methods in interfaces can call private methods
#
License