// String to int
String str = "10";
int myint = new Integer(str).intValue();// int to String
int myint =10;
String str = myint + "";