Package java.util
Class Hashtable

Public Method put

Object put(Object key, Object val)

Overrides:

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

This method maps the specified key to the specified value in this hashtable. Neither the key nor the value can be null.

Example

   Hashtable hashTable = new Hashtable();
   hashTable.put("1", "h");

The example above returns puts the specified element into the hashtable.