[Logo]
Forums Register Login
arraycopy() with String[][]
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"?
Hi,



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

Kalai Selvan T.
thnx
And when my army is complete, I will rule the world! But, for now, I'm going to be happy with this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database


This thread has been viewed 1432 times.

All times above are in ranch (not your local) time.
The current ranch time is
Feb 20, 2019 08:35:36.