| Author |
how to append two string ararys?
|
Ajay Xavier
Ranch Hand
Joined: Jan 03, 2005
Posts: 109
|
|
hi, How to append two multidimensional arrays(both of same dimensions) into a single array? what is the efficient way of doing this? for eg. i have String[][] array1 = new String[10][2]; String[][] array2 = new String[6][2]; i need new array which contains both the entries from array1 and array2 Thanks, Ajay.
|
 |
Keith Lynn
Ranch Hand
Joined: Feb 07, 2005
Posts: 2341
|
|
Remember that in Java, a multidimensional array is just an array of arrays. Look in the System class at the method arraycopy.
|
 |
 |
|
|
subject: how to append two string ararys?
|
|
|