📅  最后修改于: 2022-03-11 14:52:17.195000             🧑  作者: Mango
StringBuffer buffer = new StringBuffer("Harvard");
// mutable we modify object
buffer.append(" School");
// append method we are calling from Buffer ** synchronized means slow
System.out.println(buffer); // Harvard School