2024-02-15

Java 17 Features

Link to the Java 17 docs

  • Sealed Classes & Interfaces
  • Switch Statements
  • InstanceOf Pattern Matching
  • Switch Expressions
  • Record Classes
  • TextBlocks
  • Strong Encapsulation of JDK Internal API’s
  • Local Variable Type Inference