String parse to Int
1.method 1:use Integer package class, static method parseInt()
int i;
String s;
i=Integer.parseInt(s);
2.method 2:use (int)
i=(int)s;
Int parse to String