in Education by (1.8m points)
Which of these methods sets every element of a List to a specified object?

(a) set()

(b) fill()

(c) Complete()

(d) add()

I got this question in homework.

This intriguing question comes from Collection Algorithms topic in division java.util – The Collections Framework of Java

Select the correct answer from above options

JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by (1.8m points)
Right answer is (b) fill()

The explanation is: None.

Related questions

0 votes
asked Oct 24, 2021 in Education by JackTerrance (1.8m points)
...