Tuesday, September 21, 2010

Output Hashmap in java

/*
OUTPUT of the above given Java HashMap Example would be :
HashMap contains 3 key value pair.
HashMap contains 1 as value
HashMap contains One as key
Value mapped with key "One" is 1
Retriving all keys from the HashMap
Three
Two
One
Retriving all values from the HashMap
Three=3
Two=2
One=1
1 is removed from the HashMap.
*/

No comments:

Post a Comment

Chitika