📅  最后修改于: 2022-03-11 14:52:19.999000             🧑  作者: Mango
ArrayList list = new ArrayList();
list.add("one");
list.add("two");
list.add("three");
StringBuilder sb = new StringBuilder();
for (String s : list)
{
sb.append(s);
sb.append("\t");
}
System.out.println(sb.toString());