When I tried to use the hashtable class, Netbeans gave me an error saying:
While still supported, these classes were made obsolete by the JDK1.2 colle
A better replacement for Hashtable is HashMap.
As for being obsolete, I have no reference to it, but the Javadoc states:
As of the Java 2 platform v1.2, this class was retrofitted to implement the Map interface, making it a member of the Java Collections Framework.
Hashtable is synchronized unlike HashMap.