When to use var in Java 10 · HackerTrans