title: Var keyword in Java
body: <p>With Java 10 or +, we can use var keyword for declaration. At initialization, a type is going to be inferred by the compiler.</p>
  <p>What happens when the class I instantiate and assign to the variable declared with <code>var</code>, is the implementation of the interface?  which type is it going to be inferred, Interface or the implementation?</p>