wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes arraycopy() with String[][] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "arraycopy() with String[][]" Watch "arraycopy() with String[][]" New topic
Author

arraycopy() with String[][]

Juhan Voolaid
Ranch Hand

Joined: Nov 18, 2003
Posts: 179
Hi

I don't know how to use System.arraycopy() method with 2 dim. arrays.

Lets say i have an existing array:
String existing [10][2] and new array
String newArray[][]= new String[10][2];

now how to use arraycopy() that "newArray" is a copy of "existing"?
Kalai Selvan
Ranch Hand

Joined: Jul 07, 2004
Posts: 79
Hi,



You can copy a single at a time........

Kalai Selvan T.
Juhan Voolaid
Ranch Hand

Joined: Nov 18, 2003
Posts: 179
thnx
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: arraycopy() with String[][]