Java version evolution and number of classes and interfaces

Version years new language features Number of classes and interfaces
1.0 1996 The Java Language Environment: Contents
of the language itself
211
1.1 1997 inner class 477
1.2 1998 strictfp modified class 1524
1.3 2000 none 1840
1.4 2002 assert 2723
5.0 2004 Experiences with the New Java 5 Language Features
Generic class, for each loop, variable parameters (Varargs), autoboxing (AutoBoxing) and unboxing (Unboxing), metadata (Metadata), enumeration (Enum), static import (Static Import)
3279
6 2006 Features and Enhancements 3793
7 2011 Java SE 7 Features and Enhancements
String-based switch, Diamond Operator (Diamond Operator), binary literals, exception handling improvements
4024
8 2014 What's New in JDK 8
lambda expressions, interfaces with default methods, streams and date/time libraries
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

Guess you like

Origin blog.csdn.net/duanluan/article/details/119886617