What is the reverse of Character.getNumericValue
问题 int x = Character.getNumericValue('A'); System.out.println(" the value of x is: " + x); // prints 10 I am looking for a method that takes in somemethod(10) and returns 'A'. Does such a method exist in java ? 回答1: As stated by Anubian Noob and Jeroen Vannevel, Character.GetNumericValue('A') = 10 , Character.GetNumericValue('a') = 10 and `Character.forDigit(10, 36) ='a'. So IMHO, what is closest of what you ask would be Character fromNumericValue(int x) { if ((x < 0) || (x > 35)) { throw new