Home » JAVA Programming » Collections » Question
  1. Which of these methods sets every element of a List to a specified object?
    1. Complete()
    2. set()
    3. add()
    4. fill()
    5. NOne of these
Correct Option: D

fill()



Your comments will be displayed only after manual approval.