Hi Ates, Your problem lies in how you are referencing the array.
Using your example from above: - String names[][]=new String[3][2]; "names.length" will return the number of elements in the first dimension "names[1].length" will return the number of elements in the second element of the first dimension. Hope this helped. Happy coding! Geoff. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
