aspose file tools*
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Array object ?" Watch "Array object ?" New topic
Author

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
http://java.sun.com/docs/books/vmspec/2nd-edition/html/Concepts.doc.html#16446
[ February 21, 2003: Message edited by: Vijayakumar Arya ]

Thanks,<p>Vijay<p>The Hand that gives, Gathers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Array object ?