PDA

View Full Version : what is object put and object get in java



saneha
04-24-2011, 06:06 PM
what is differance between object put and object get?

Vuhelper
04-24-2011, 06:07 PM
Your query is fully clear. But still if you are for the method used in collection data structure (HashMap) then put is used to store a value of object along with a key. Whereas get is used to retrieve the value back from the hash table using the same key provided.