This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 3573

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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Array class
Similar Threads
JDK violating Encapsulation ?
Widening Reference Conversation
Array class?
variables in hashCode( ) and equals( )
casting into primitive wrapper class