1. 常常会有数值字符串转换成数值类型的要求。 Integer.parseInt()的使用 public static int parseInt(String s, int radix) throws NumberFormatException Parses the string argument as a signed integer in the radix specified by the second arg ...

    阅读全文