public static void main(String[] args) { String myString= "100"; int myInt = Integer.parseInt(myString); System.out.println(myInt); }