經安全檢測,此網站為安全網站,請放心前往原始網址!

Java convert from int to char using ASCII?

You can add 48 to the numeric char d = (char)(digit + 48); that would be the ASCII way or You can add char '0' char dd = '0' + digit; // here is both ways public class IntToChar { public static void main(String[] arg) { int[] nums = {3, 4, 44, 78}; for (i

answers.yahoo.com

網址安全性掃描由 google 提供