public class ParseInt { public static void main (String [] args) { String s = "1234"; int x; x = Integer.parseInt (s); x = x + 400; System.out.println (x); } }