Can we use System.arraycopy() method to copy the same array?

Q

Can we use System.arraycopy() method to copy the same array?

✍: Guest

A

Yes, you can. The source and destination arrays can be the same if you want to copy a subset of the array to another area within that array.

2012-09-04, 2235👍, 0💬