File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Array object ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Array object ?" Watch "Array object ?" New topic

Array object ?

Fox Hu
Ranch Hand

Joined: Jan 23, 2003
Posts: 49
I can use field length to get the size of an array such as
int i[] = {0,1,2} ;
then i.length will equals 3
But where does the length field come from ?
Which class does it belong to ?
Vijayakumar Arya
Ranch Hand

Joined: Jan 27, 2003
Posts: 76
Hi Neal,
You need to refer the JVM specification regarding the implementation of the array objects.
Please refer this page for more info
[ February 21, 2003: Message edited by: Vijayakumar Arya ]

Thanks,<p>Vijay<p>The Hand that gives, Gathers.
I agree. Here's the link:
subject: Array object ?
It's not a secret anymore!