Alex S
Posts: 27
Nickname: andu
Registered: Mar, 2003
|
|
Re: quick question on main(String[] argv)
|
Posted: Oct 30, 2003 12:14 AM
|
|
http://www-106.ibm.com/developerworks/java/library/j-arrays/
"Arrays are the only collection support defined within the Java programming language. They are objects that store a set of elements in an order accessible by index, or position. They are a subclass of Object and implement both the Serializable and Cloneable interfaces. However, there is no .java source file for you to see how the internals work. Basically, you create an array with a specific size and type of element, then fill it up."
http://java.sun.com/docs/books/jls/second_edition/html/arrays.doc.html#27805
"10.7 Array Members The members of an array type are all of the following:
The public final field length, which contains the number of components of the array (length may be positive or zero)
The public method clone, which overrides the method of the same name in class Object and throws no checked exceptions
All the members inherited from class Object; the only method of Object that is not inherited is its clone method"
|
|