File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
how to append two string ararys?
Joined: Jan 03, 2005
May 26, 2006 07:42:00
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
 array1 = new String;
String array2 = new String;
i need new array which contains both the entries from array1 and array2
Joined: Feb 07, 2005
May 26, 2006 07:51:00
Remember that in Java, a multidimensional array is just an array of arrays.
Look in the System class at the method arraycopy.
I agree. Here's the link:
subject: how to append two string ararys?
Question on similar & identical of Objects
illegal start of expression -- arrays
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013