The most direct solution to convert a Java string to an integer is to use the parseInt method of the Integer class: int i = Integer.
確定! 回上一頁