append(String str)
API method of StringBuffer. This method appends the specified string to this character sequence.boolean
, a char
, a char array
, a double
, a float
, an int
and an Object
stringbuffer.append(args) args可以多类型
原文:https://www.cnblogs.com/yizhaoAI/p/9897543.html