Hy everybody.
I need an answer to a problem i can't solve.
Let say i need 10 arrays and their name are array0, array1...array9
..is any chance to automate their declaration and initialize in a loop,
something like
int [ ] "array"+k=new int[k] ?
i mean to have an array "array0" with one element, "array2" with 2 elemets and
so on...
thank you very much...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---