Java 10
版本新特性
局部变量类型推断:var
循环和 try-with-resources 中的 var
不能使用 var 的地方
集合的不可变副本
把流收集为不可变集合
无参数的 Optional.orElseThrow
字符流传输(transferTo)