A Admin • 831K Points Coach Q. Which method is used to remove all elements from a collection? (A) removeAll() (B) clear() (C) deleteAll() (D) flush() Correct Answer - Option(B) Views: 17 Filed under category Java Hashtags: Java Collections Share Manage Tags
Discusssion
Login to discuss.