stringbuffer.append(args) args可以多类型

  • 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, a char, a char array, a double, a float, an int and an Object

 

posted @ 2018-11-02 17:43  7894561230  阅读(197)  评论(0编辑  收藏  举报