How many classes are there in Java standard edition?
I am curious how many classes are there in Java standard library. Perhaps someone knows an approximate number?
By counting entries in the 'all classes' frame of the javadoc API:
-
4569
in java 14 -
4545
in java 13 -
4433
in java 12 -
4411
in java 11 -
6002
in java 10 -
6005
in java 9 -
4240
in java 8 -
4024
in java 7 -
3793
in java 6 -
3279
in java 5.0 -
2723
in java 1.4.2* -
1840
in java 1.3.1*
* Javadocs prior to 5.0 are now offline.
I'm also curious about this topic. I found this:
(source: Java 8 Pocket Guide book by Robert Liguori, Patricia Liguori)
- Java 1.0.2 : 250 classes
- Java 1.1 : 500 classes
- Java 2 (version 1.2-1.4) : 2300 classes
- Java 5.0 (version 1.5) : 3500 classes
Source : Head First 2nd edition, Chapter 1, p. 4