String input ="345"; int output = Integer.parseInt(input);. parseInt() can throws a NumberFormatException if the String can't be converted.
確定! 回上一頁