InterviewSolution
Saved Bookmarks
| 1. |
Which of these methods deletes all the elements from invoking collection?(a) clear()(b) reset()(c) delete()(d) refresh()I have been asked this question in an international level competition.I'm obligated to ask this question of Collection Framework Overview in chapter java.util – The Collections Framework of Java |
|
Answer» The CORRECT choice is (a) clear() |
|