gudii9
asked on
Map a Collection
Hi,
I wonder why Map is considered Collection eventhough it does not implement Collection interface and whose behaviour is quite different from List or Set.
Please advise
I wonder why Map is considered Collection eventhough it does not implement Collection interface and whose behaviour is quite different from List or Set.
Please advise
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I mean to say small 'c'Well, then you got the answer: a map is a collection of key-value pairs
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Any book on java deals with Collection related chapter with Map right apart from Set and List.
I mean to say small 'c'
Big C is for interface right which is only being implemented by List and Set as attached
CollectionTop.png