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

猜你喜欢

转载自www.cnblogs.com/yizhaoAI/p/9897543.html