tags:

views:

455

answers:

3

I would like to know the number of built in classes and packages that are available with Java 6.

Please provide me the url from where this information is available.

Thanks

+2  A: 

Java 6 API

Daniel Moura
+3  A: 

I have counted it : 203 packages and 3792 classes

Technocrat
Use the Java 6 API webpage. Select all the text in the 2 frames, paste each into `wc -l` or an editor with line numbers, you get 3793 classes, 203 packages. So either you should explain why I'm wrong by 1 count or you should edit your answer and make it right.
dlamblin
+5  A: 

3793 after a line count of http://java.sun.com/javase/6/docs/api/allclasses-frame.html

(less one for the heading)

EDIT: 203 packages in http://java.sun.com/javase/6/docs/api/overview-frame.html

Cogsy
I guess you could also add the system classes for the primitives 'int' 'char' etc, but that is just being really picky
Gareth Davis