Question
Which of these methods deletes all the elements from invoking collection?
Answer: Option A
Was this answer helpful ?
clear() method removes all the elements from invoking collection.
Was this answer helpful ?
More Questions on This Topic :
Question 2. What is Collection in Java? ....
Question 5. Which of these interface handle sequences? ....
Submit Solution