Skip to content

Java 10

Java 10 (2018):

  1. Local variable type inference (var keyword): Reduced boilerplate for local variable declarations.
var list = new ArrayList<String>();
var stream = list.stream().map(String::toUpperCase);
  1. Application Class-Data Sharing: Improved startup time and memory footprint for multiple JVMs.