• Post Reply Bookmark Topic Watch Topic
  • New Topic

arraycopy() with String[][]  RSS feed

 
Ranch Hand
Posts: 179
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"?
 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,



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

Kalai Selvan T.
 
Juhan Voolaid
Ranch Hand
Posts: 179
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thnx
 
Destiny's powerful hand has made the bed of my future. And this tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!