title: Java- How to create Java Hashtable from HashMap
body: <p>I want to Create Java Hashtable from HashMap.</p>
  
  <pre><code> HashMap hMap = new HashMap();       
  //populate HashMap
  hMap.put("1","One");
  hMap.put("2","Two");
  hMap.put("3","Three");
  
  //create new Hashtable
  Hashtable ht = new Hashtable();
  
  //populate Hashtable
  ht.put("1","This value would be REPLACED !!");
  ht.put("4","Four");
  </code></pre>
  
  <p>After this what will be the easiest procedure?</p>