Discussion :: JAVA MCQs
- Which of these method is used to make all elements of an equal to specified value?
Answer : Option B
Explanation :
fill() method assigns a value to all the elements in an array, in other words it fills the array with specified value.
Be The First To Comment