Question 1
Which of the following methods are in the Collection interface?
◦ size()
◦ clear()
◦ isEmpty()
◦ getSize()
Question 2
Which of the following methods are in the Collection interface?
◦ contains(o: Object): boolean
◦ containsAll(c: Collection>): boolean
◦ add(o: E)
◦ addAll(c: Collection extends E>)