經安全檢測,此網站為安全網站,請放心前往原始網址!

How to convert string to int in Java? - Stack Overflow

How does one convert a String to an int in Java? I have a string which contains only numbers (1-4 numbers to be specific), and I want to return the number which it represents.

stackoverflow.com

網址安全性掃描由 google 提供