Friday, 18 March 2016
What will happen if we put a key object in a HashMap which is already there ?
If you put the same key again than it will
replace the old entry
because HashMap
doesn't allow duplicate keys
.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: only a member of this blog may post a comment.