title: Put two arrays as key and value in Hashtable
body: <p>I am quite new to Android..Can someone please help me to solve this problem ?</p>
  
  <p>I have a <code>Hashtable</code> and two <code>Arrays</code>. I have to put these two <code>Arrays</code> as key and pair values in the <code>Hashtable</code>.</p>
  
  <pre><code>String[] arr = data.split(",");
  
      String keyarr = arr[0].toString();
      String[] keystring = keyarr.split("-");
      System.out.println("get the string arrayy " + string[0] + string[1]);
      String valuearr = arr[1].toString();
      String[] valuestring = valuearr.split("-");
      Hashtable&lt;String, String&gt; hashtable = new Hashtable&lt;String, String&gt;();
  </code></pre>
  
  <p>Here <code>keystring</code> and <code>valuestring</code> are two arrays, and I would like to put those in the hashtable. If <code>keyString[0]</code> is the key then <code>valuesting[0]</code> is the value of that hashtable. Thanks..</p>