transaform string to int 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");