public static void main(String[] args){
StringBuffer sb=new StringBuffer("hello")
//sb.append("\n")
String another="world"
System.out.println(sb.toString())
System.out.println(another)
}
}
我试了一下,应该可以的。
欢迎分享,转载请注明来源:内存溢出
public static void main(String[] args){
StringBuffer sb=new StringBuffer("hello")
//sb.append("\n")
String another="world"
System.out.println(sb.toString())
System.out.println(another)
}
}
我试了一下,应该可以的。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)