String 转 Integer 类型

String  s=" abddd";
Integer  i=new  Integer( s );              //注意: 这是 s   不是 “s”  s 必须是 数字类型
posted @ 2018-03-26 00:31  青蛙跳跳  阅读(339)  评论(0编辑  收藏  举报