This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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: 3647

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:
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.
Don't get me started about those stupid light bulbs.
subject: Array class