Code:
Vector v = new Vector();
Vector n = new Vector();

System.out.print(" ");
w = input.nextInt();//this is for receiving the width
System.out.print(" ");
h = input.nextInt();//this is for receiving the height

v.addElement(w);
n.addElement(h);
Now How Can I convert the element of my vector to array in integer format???

Please Help!!...