黑马11期李项京 发表于 2012-5-31 12:21 将switch (ch)改成switch (Integer.parseInt(Character.valueOf(ch).toString())) ,即完成了字符到int转型 ...