Java零散知识点总结

一、StringBuffer

        //这里可以编译通过
        String string = new StringBuffer().append(true).toString();
        //The overall effect is exactly as if the argument were converted to a string by the method String.valueOf(boolean)
        System.out.println(string);

版权声明:本文为anerle2012原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。