how to change a number in a string into integer code example
Example 1: java convert String to int
int i = Integer.parseInt(myString);
Example 2: string to int
int i=Integer.parseInt("200");
int i = Integer.parseInt(myString);
int i=Integer.parseInt("200");