This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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 ?
 
Similar Threads
Please help this newbie...what's wrong with my code?
array length?
array size
populating HTML tables in JSP
Array documentation