File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Array class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Array class" Watch "Array class" New topic

Array class

Jelo Nehuptra
Ranch Hand

Joined: Oct 08, 2011
Posts: 36

If an array is a java.lang.Object, where can i find the "array class" that extends Object? The Array Class not the java.util.Arrays utility class.
Nomaan Butt
Ranch Hand

Joined: Oct 19, 2011
Posts: 54
array is actually a data structure and java.util.Arrays is a class which has static methods which act on the array data structure.
Stephan van Hulst

Joined: Sep 20, 2010
Posts: 4629

In the API documentation? You can't. There is no single array class. There are infinite array classes, one for every other type.

However, the JLS provides some information about them:

The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.
Aniket S. Kulkarni
Ranch Hand

Joined: Jun 15, 2011
Posts: 87

I am agree with Stephan van Hulst.
There is no such array class exists in JAVA.
It is data structure.

Aniket Kulkarni
Oracle Certified Professional, Java SE 6 Programmer.
I agree. Here's the link:
subject: Array class
It's not a secret anymore!