Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How many classes are there in Java standard edition?

Tags:

java

I am curious how many classes are there in Java standard library. Perhaps someone knows an approximate number?

like image 684
Peter Krumins Avatar asked Jun 24 '10 18:06

Peter Krumins


People also ask

How many classes are there in Java?

There are 5,000 or so classes built-in to Java, and programmers have written hundreds of thousands if not millions of their own.

What is Java Standard Edition skill?

The SE stands for Java Standard Edition is a computing platform in which we can execute software, and it can be used for development and deployment of portable code for desktop and server environments. It has the Java programming language in use. It is part of Java software-platform family.


1 Answers

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.

like image 73
Chadwick Avatar answered Oct 04 '22 21:10

Chadwick