which of the following are true At the root of Collection hierarchy is the class called Collection---true The Collection Interface contains method enumerator--no the iterator returns an instance of the class Vector--no returns Iterator The set interface is designed for unique elements--true
My question is java.util.Map is also part of Collection . There is no connection bet the Collection interface and this . Then how can we generalize a stmt like this. maha anna
The new Collections framework includes the interface Collection and Map and their sub-interfaces and implementing classes. I know it's somewhat misleading but Map and Collection are independent hierarchically, but both part of the same new framework in Java 2.
Tony Alicea Senior Java Web Application Developer, SCPJ2, SCWCD
If I had asked people what they wanted, they would have said faster horses - Ford. Tiny ad:
a bit of art, as a gift, that will fit in a stocking