New to hashtables with a simple question. For some reason googling hasn\'t gotten me a straight answer. Say I\'ve got an hashtable set up:
hmmm ,just need add a line myHashtable.put(1,"fish"); to see what's amazing happens
myHashtable.put(1,"fish");
see this links:http://docs.oracle.com/javase/6/docs/api/java/util/Hashtable.html#put(K, V)
Returns: the previous value of the specified key in this hashtable, or null if it did not have one