This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Array probm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Array probm" Watch "Array probm" New topic
Author

Array probm

kalai sundar
Ranch Hand

Joined: May 25, 2005
Posts: 69
schedulevo[] sha is my array, i wnat to print the size of the array, how to do plz hepl me
lalit upadheyay
Ranch Hand

Joined: Jun 20, 2005
Posts: 110
Originally posted by kalai sundar:
schedulevo[] sha is my array, i wnat to print the size of the array, how to do plz hepl me




quite simple. use sha.length after creating the array. schedulevo[] sha; statement just declares it but the array is not created.


SCJP1.4, SCWCD1.4, SCBCD5.0(working on...)
Abdulla Mamuwala
Ranch Hand

Joined: Jan 09, 2004
Posts: 225
 
wood burning stoves
 
subject: Array probm
 
It's not a secret anymore!