char c = (char) (Integer.valueOf(s).intValue());
------解决方案-------------------- int a = 0; for(int i = 0 ; i < s.length();i++){ String ss = s.charAt(i)+""; int b = Integer.parseInt(ss); a =a+ b*2; } System.out.println(Character.toChars(a)); 就会输出q了
------解决方案--------------------