Q29
What is the purpose of the Arrays.fill() method in Java?
A.
To fill an array with a specified value.
AnswerB.
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.
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board