如何在java中将数字字符串转换为int?

如何在java中将数字字符串转换为int?

问题描述:

我只想知道如何使用Java将数字字符串转换为int



我尝试过:



i永远不会尝试,所以我要求你的帮助人员

i just want to know how to convert numeric String to int using Java

What I have tried:

i never try and so that im asking for your help guys

参见跟踪:学习Java语言(Java& trade; Tutorials) [ ^ ]。请先做一些自己的研究工作。
See Trail: Learning the Java Language (The Java™ Tutorials)[^]. Please make a bit more effort to do your own research first.


让我们尝试一点点增益。该解决方案位于整数 文档页面 [ ^ ],现在轮到你了:找到它。
Let's try to play alittle gain. The soulution is in the integer documentation page[^], now it is your turn: find it.