dcsimg
Length of an Array
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, October 4, 2005 03:26 AM

Why we didn't have length() to find the length of an array? I mean why they use a.length instead of a.length() if a is an array?

Thank you

Re: Length of an Array

Posted By:   Anonymous  
Posted On:   Tuesday, October 4, 2005 06:08 AM

because array is not an object, so it doesn't have a method.
About | Sitemap | Contact