1、基本类型数据+“” 登录后复制 int a=1; String s=a+"";//"1" 1.2. 2、String转换为对应的基本类型 包装类中的parseXXX() 登录后复制 int i=Integer.parseInt("100");//100 1. 原创作者: u_16969274 转载于: https://blog.51cto.com/u_16969274/11813533