一、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);