DZone

Java is changing rapidly, and with the six-month release cycle, we are getting new features to try with every release. In Java 10, local variable type inference was added. It was basically aimed at reducing boilerplate code and improving readability when declaring local variables with initializers.

Programs must be written for people to read and only incidentally for machines to execute
Harold Abelson

Source: DZone