Originally posted by Lalit Bansal: ...Actually, I assume that there must be some class where this public variable is defined...
It seems logical to expect a java.lang.Array class in the API, but instead arrays are built into the language itself. The details are documented in Chapter 10 of the Java Language Specification (JLS). In particular, the "length" member is described under 10.7 - Array Members. [ March 08, 2007: Message edited by: marc weber ]
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org
Joined: Jan 29, 2007
Thanking all of you for clarifying on same.
The JLS mentions: An array thus has the same public fields and methods as the following class: