How to use the var keyword in Java? Example Tutorial
JDK 10 has added var keyword in Java which allows you to declare a local variable without type like instead of String str you can just say var str.
Tags: java, programming, beginners, tutorials