[Java] Collection Framework
1.Two root interface: Collection & Map.
2.Collection has three inherated interface: List, Queue, Set. List & Queue is sorted and elements can dupicated. Set is un-sorted, and element inside is unique.
1.Two root interface: Collection & Map.
2.Collection has three inherated interface: List, Queue, Set. List & Queue is sorted and elements can dupicated. Set is un-sorted, and element inside is unique.