// You will receive an error if there are non-numeric characters in the String. String num = "5"; int i = Integer.parseInt(num);
String myString = Integer.toString(myInt);
int num = 5; String numAsString = 5 +"";
String.valueOf(i)