length is an attribute of an Array object. if you look at the API in the Array class there is a static method called getLength() which returns the length of an array...
do you know the relationship between static variables and and static methods? so by the look of the static method getLength(), i think we can safely assume that Array has a static variable called length which can also be access with Array.length;
so to answer your question, see the Array class in the API.
Originally posted by Krish DP: length is a property...right?
it should be in some class....
i want to know that class???
Arrays are directly supported language features. You can find the length of an Array using getLength() method of Array class in java.lang.reflect package. [ August 25, 2006: Message edited by: praveen babu ]