Таня Asked:2020-01-04 00:30:03 +0000 UTC2020-01-04 00:30:03 +0000 UTC 2020-01-04 00:30:03 +0000 UTC ASCII 中的字符数 772 我有一个符号,例如 - 'a'。需要一种方法来找出它在表中的代码。提前致谢。 java 2 个回答 Voted Best Answer thematdev 2020-01-04T01:30:47Z2020-01-04T01:30:47Z 首先在 google.com 使用此搜索引擎的能力将在未来帮助您。 char character = 'a'; int ascii = (int) character; // 97 Konstantin_SH 2020-01-04T03:47:17Z2020-01-04T03:47:17Z 可以这样吗 char ch ='a'; int code = (int) ch;
首先在 google.com
使用此搜索引擎的能力将在未来帮助您。
可以这样吗