Inferring local variables 

Starting with Java 10, declaring local variables has been simplified. Developers no longer have to include manifest declarations of local variable types; rather, declarations can be inferred through use of the new var identifier.