We can use `Integer.parseInt()` or `Integer.valueOf()` to convert String to int, always check the inputs to avoid NumberFormatException.
確定! 回上一頁