从 Java 5 到 Java 20 各版本的新特性,持续更新中...
-
Java 5
- 注解
- 自动装箱与拆箱
- 返回类型的协变
- 枚举
- for 循环增强
- 泛型
- 线程池
- 线程安全的集合
- 线程通信的工具类
-
Java 7
- 二进制字面量
- 捕获多异常类型
- String 在 switch case 中的使用
- try with resource
- 下划线数字字面量
- 优化非具体类型和可变参数一起使用的编译器警告
-
Java 8
- lambda 表达式
- ...
GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |