标签:new parse intvalue java dem 方式 类型 int intval
//方式一:Integer(String s)
//demo:
    Integer i = new Integer("10");  // 10
    int a = i.intValue()
//方式二:static int parseInt(String s)
int b = Integer.parseInt("20");  //20
//demo:
    int a = 50;
    String s = a + "";标签:new parse intvalue java dem 方式 类型 int intval
原文地址:https://www.cnblogs.com/selfdef/p/11066482.html