r/learnjava • u/tomtheawesome123 • Oct 18 '17
Fastest way to copy 2d array?
Is there a way to do it without using a for loop which just inserts indexes to a new array?
1
Upvotes
r/learnjava • u/tomtheawesome123 • Oct 18 '17
Is there a way to do it without using a for loop which just inserts indexes to a new array?
2
u/sparkas Oct 18 '17
Is there a reason you don't want to use a for-loop? Is it for an assignment?