L Lê Như Ý New member Sep 19, 2021 #1 Which of this method is used to make all elements of an equal to specified value? A. add() B. fill() C. all() D. set()
Which of this method is used to make all elements of an equal to specified value? A. add() B. fill() C. all() D. set()
Đ Đặng Thu Hà New member Sep 19, 2021 #2 Answer: b Explanation: fill() method assigns a value to all the elements in an array, in other words, it fills the array with specified value. Upvote 0 Downvote
Answer: b Explanation: fill() method assigns a value to all the elements in an array, in other words, it fills the array with specified value.