Untitled Document

Subscribe here to get updates on new Videos


11. 9 key interfaces of Collection framework vii. Map?





Map is not the child interface of Collection.
If we want to represent a group of individual objects as key value pairs then should go for Map.

Roll No                                  Name
101                                         Durga
102                                         Ravi
103                                         Venkat
Both key and value are objects, duplicated keys are not allowed but values can be duplicated.