java9 Local-variable type inference

var ls = Arrays.asList("1","2");

 

System.out.println(ls);

原文地址:https://www.cnblogs.com/wblade/p/8994472.html