public class Main { public static void main(String[] argv) throws Exception { int i = Integer.parseInt("123"); System.out.println(i); } }