Hastable: parse integer from string
Example:

import java.io.*;
import java.util.Enumeration;
import java.util.Hashtable;

public class Test_This {
public static void main(String[] args) throws IOException{
// TODO Auto-generated method stub
Process p1 = new Process();
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String file_name ="";
Process pp = new Process();
pp.method_1();
}
}
class Process
{
String[] first = {"A","B","D","C","F","E","F"};
String[] second = {"1","2","3","4","4","5","6"};

public Process(){System.out.println("Default) constructor");}
public void method_1()throws IOException
{
System.out.println("Key Values");
Hashtable ht = new Hashtable();
String str = "", str1="";int n1= 1;
for(int i = 0; i < first.length; i++)
{
n1 = Integer.parseInt(second[i]);
ht.put(first[i], n1);

}
System.out.println(ht);
Enumeration e = ht.keys();
System.out.println("-----------");
System.out.println("Key Values");
while(e.hasMoreElements())
{
str = (String)e.nextElement();

System.out.println(str + "\t " +ht.get(str));
}
}
}