public class Tester { public static void main(String[] args) { String s = "5"; int result = Integer.parseInt(s) + 2; } }