String s="123"; int a= Integer.parseInt(s); int b=Integer.valueOf(s); System.out.println(b); System.out.println(a);