Do U Wanna Copy An Array ?

Hi Friends,

To copy an array in JAVA we have 3 options…

1. Manually iterating elements of the source array and placing each one into the destination array using loop.

2. arraycopy() Method of java.lang.System class


Continue reading

Advertisements