rahmanusta / java-next-edu

Some selected new features in Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New Features in Java

Features are separated by package name.

  • JEP 286: Local-Variable Type Inference (Java 10)

    • localvar

  • JEP 358: Helpful NullPointerExceptions (Java 14)

    • nullpointerexception

  • JEP 361: Switch Expressions (Java 14)

    • switches

  • JEP 378: Text Blocks (Java 15)

    • texts

  • JEP 394: Pattern Matching for instanceof (Java 16)

    • instanceof

  • JEP 395: Records (Java 16)

    • records

  • JEP 409: Sealed Classes (Java 17)

    • seals

  • JEP 406: Pattern Matching for switch (Preview) (Java 17)

    • matching

Download Open JDK

tryjshell.org

About

Some selected new features in Java


Languages

Language:Java 100.0%