📌  相关文章
📜  在java代码示例中将数字更改为数组

📅  最后修改于: 2022-03-11 14:52:23.609000             🧑  作者: Mango

代码示例1
String temp = Integer.toString(guess);
int[] newGuess = new int[temp.length()];
for (int i = 0; i < temp.length(); i++)
{
    newGuess[i] = temp.charAt(i) - '0';
}