News

Java SE 10 (March 2018) introduced type inference for local variables. Java Language Architect Brian Goetz explains the feature.
Java SE 10 introduced var as the type of a local variable declaration and a lambda formal parameter. The compiler treats var as an identifier with special meaning, but it isn’t considered to be ...