Hi all,

How can i get the length of a multi dimensional array.
Fo example:
If i have
            String names[][]=new String[3][2];
I can't get the second dimension with
            names[].length;
but
            names [1].length;
works fine. Is there any other ways to get the length attribute for
multi dimensionals?

Regards,

Ates


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to