1. 程式人生 > >stringbuffer.append(args) args可以多類型

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

str bject oat character args ringbuf int and nds

  • 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

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