A

Admin • 830.13K Points
Coach

Q. What is the correct way to copy the elements of one array to another in Java?

  • (A) Use a for loop to iterate through the elements and copy them one by one.
  • (B) Use the clone() method of arrays.
  • (C) Use the copy() method of arrays.
  • (D) None of the above
  • Correct Answer - Option(A)
  • Views: 12
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.