File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes length 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 » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "length" Watch "length" New topic
Author

length

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
dear all
Is array have .length()or length method ?
please comment.
thanks in advance.
--shi
deekasha gunwant
Ranch Hand

Joined: May 06, 2000
Posts: 396
Hi shi,
Arrays have a field named length (not a method). so to get an array's length use
arayneme.length
regards
deekasha
 
I agree. Here's the link: jrebel
 
subject: length
 
Similar Threads
What is Database Length?
Returning lenght of a string
what is wrong with my validation code ?
String.length() returns strange results
if Statements the best?