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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
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: http://aspose.com/file-tools
 
subject: length