- Use
append(String str)
API method of StringBuffer. This method appends the specified string to this character sequence. - The method can also be used to append a
boolean
, achar
, achar array
, adouble
, afloat
, anint
and anObject
stringbuffer.append(args) args可以多类型
猜你喜欢
转载自www.cnblogs.com/yizhaoAI/p/9897543.html
今日推荐
周排行