java9 Local-variable type inference

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

 

System.out.println(ls);

猜你喜欢

转载自www.cnblogs.com/wblade/p/8994472.html