So array.length is a field... but String.length() is a method.... and so is ArrayList.length(). Difference in syntax for the same result.
Stupid (and my brain wants to reject it), but noted.
I SUPPOSE it ALMOST makes sense because you need to declare the length of the array when it's created... so no calculations need to be done.
You'd think they'd make programming languages easier for the PROGRAMMER to understand.
Campbell Ritchie - in the business of teaching ranchers about
Java every day of his life.
Thanks again!
Janeice