62,634
社区成员




try {
String str = "";
int x = Integer.parseInt(str, 36);//1 后面的数字可以是2到36之间
int y = Integer.parseInt(str);//2
int z = new Integer(str).intValue();//3
} catch (java.lang.NumberFormatException ex) {
ex.printStackTrace();
}