版本 | 年份 | 语言新特性 | 类与接口的数量 |
---|---|---|---|
1.0 | 1996 | The Java Language Environment: Contents | |
语言本身 | 211 | ||
1.1 | 1997 | 内部类 | 477 |
1.2 | 1998 | strictfp 修饰类 | 1524 |
1.3 | 2000 | 无 | 1840 |
1.4 | 2002 | 断言(assert) | 2723 |
5.0 | 2004 | Experiences with the New Java 5 Language Features | |
泛型类、for each 循环、可变参数(Varargs)、自动装箱(AutoBoxing)与拆箱(Unboxing)、元数据(Metadata)、枚举(Enum)、静态导入(Static Import) | 3279 | ||
6 | 2006 | Features and Enhancements | 3793 |
7 | 2011 | Java SE 7 Features and Enhancements | |
基于字符串的 switch、钻石操作符(Diamond Operator)、二进制字面量、异常处理改进 | 4024 | ||
8 | 2014 | What’s New in JDK 8 | |
lambda 表达式、包含默认方法的接口、流和日期 / 时间库 | 4240 | ||
9 | 2017 | Java Platform, Standard Edition What’s New in Oracle JDK 9 | |
10 | 2018 | What’s New in JDK 10 - New Features and Enhancements | |
11 | 2018 | What’s New in JDK 11 - New Features and Enhancements | |
12 | 2018 | What’s New in JDK 12 - New Features and Enhancements | |
13 | 2019 | What’s New in JDK 13 - New Features and Enhancements |
版权说明 : 本文为转载文章, 版权归原作者所有 版权申明
原文链接 : https://blog.csdn.net/duanluan/article/details/119886617
内容来源于网络,如有侵权,请联系作者删除!