📜  -3 到 java 代码示例中的字符串

📅  最后修改于: 2022-03-11 14:52:49.612000             🧑  作者: Mango

代码示例1
javaCopypublic class SimpleTesting{
    public static void main(String[] args) { 
        Integer iVal = 123;
        System.out.println("Integer Object value: "+iVal);
        String str = iVal.toString();
        System.out.println("String value: "+str);
    }
}