Getting used to type inference
All about var: How Local-Variable Type Inference can clear up Java verbosity
One of the most intriguing new features in Java 10 is local-variable type inference. Adrian D. Finlay explores how developers can take advantage of var types to clear up their code from excess Java verbosity.