File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Array probm Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Array probm" Watch "Array probm" New topic
Author

Array probm

kalai sundar
Ranch Hand

Joined: May 25, 2005
Posts: 59
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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Array probm
 
Similar Threads
Doubt
How could I print names randomly?
WA #1.....word association
Another 'Y' game
about array