A

Admin • 828.43K Points
Coach

Q. Which statement is used to copy arrays?

  • (A) array.copy()
  • (B) System.arraycopy()
  • (C) Arrays.clone()
  • (D) array.duplicate()

Explanation by: Admin
System.arraycopy() is used to copy data from one array to another.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.