A

Admin • 828.03K Points
Coach

Q. What is the purpose of the Arrays.fill() method in Java?

  • (A) To fill an array with a specified value.
  • (B) To find the number of elements in an array.
  • (C) To copy elements from one array to another.
  • (D) To sort the elements of an array.
  • Correct Answer - Option(A)
  • Views: 17
  • 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.