Home arrow static arrow Java Programming [Archive] - Array Length
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - Array Length
This topic has 2 replies on 1 page.

Posts:14
Registered: 2/29/04
Array Length  
Jul 7, 2004 12:05 AM



 
I have been looking but cannot find the correct syntax for Array Length...
Is it
A.�myarray.length();
�B.�myarray.length;
�C.�myarray.size;
�D.�myarray.size();
????

I believe it is answer B., but am not quite sure... Thank you very much :-)
 

Posts:111
Registered: 12/21/97
Re: Array Length  
Jul 7, 2004 12:10 AM (reply 1 of 2)



 
yup, you are right.....
 

Posts:2,909
Registered: 13.8.2003
Re: Array Length  
Jul 7, 2004 1:09 AM (reply 2 of 2)



 
Hey kkirles, you can easily try those things by writing the code, compiling and examining the results.

Are you going to post every single question (in what is presumably some sort of online Java test) here?
If the answer is yes, go do it in New To Java Programming since you clearly belong there.
 
This topic has 2 replies on 1 page.