This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Many tutorials say that Hashtable doesnt allow null values,but i tried like
and able to display it by using Object get(Object key);
and also i want to know whether Hashtable allow duplicates.
I think the only diff b/w HashMap and Hashtable is Hashtable is synchronized.