convert a string argument into an integer code example Example: java convert String to int int i = Integer.parseInt(myString);