Page 1 of 1

About Question enthuware.ocpjp.i.v11.2.3603 :

Posted: Mon Sep 16, 2019 11:56 pm
by sir_Anduin@yahoo.de
awsome summary of var "type"
https://www.infoq.com/articles/java-10-var-type/

And by the way, var is not a real keyword. You can still use var as a variable name:
Try:

Code: Select all

import java.util.*;

public class Main {
  
    public static void main(String args[]) {
    var var = 10;
    System.out.println(var);
  
}
}