News

Java SE 10 (March 2018) introduced type inference for local variables. Java Language Architect Brian Goetz explains the feature.
Key Takeaways Java 10 introduces a shiny new feature: type inference for local variables. For local variables, you can now use a special reserved type name “var” instead of actual type.
This month’s Java 101 concludes the thread series by focusing on thread groups, volatility, thread-local variables, timers, and the ThreadDeath class. Java requires every thread and every thread ...
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 ...
New Java 10 features for developers Developers will find local variable type inferences, along with the ability to use the long reserved, but hitherto unused keyword var in their applications, as a ...