Originally posted by C Law:
Why we use length() to calculate the length of a string,
but "length" to compute the length of an array?
Old naming conventions. We also use size() on java collections including arraylists so don't think the confusion stops at strings and typed arrays.
[ March 21, 2006: Message edited by: Scott Selikoff ]