The twoDArray in your case is just an array of size 10 with each slot referring to a integer array i.e. two dimensional arrays in Java are just an array of arrays. Hence you can either use
twoDArray[3] = oneDArray; or
System.arraycopy if you don't want modifications in the original oneDArray to be reflected in twoDArray. Also read
this.
Super Moderator
Featured Poster
Reputation Points: 3233
Solved Threads: 720
Failure as a human
Offline 8,872 posts
since Jun 2006