Question 1
Which of the following methods are in the Collection interface?
◦ deleteAll(c: Collection>): boolean
◦ delete(o: E): boolean
◦ remove(o: E): boolean
◦ removeAll(c: Collection>): boolean
Question 2
For an instance of Collection, you can obtain its iterator using ________.
◦ c.getIterator()
◦ c.iterable()
◦ c.iterator()
◦ c.iterators()