描述
The java.lang.StringBuffer.toString() method returns a string representing the data in this sequence.
A new String object is allocated and initialized to contain the character sequence currently represented by this object. This String is then returned.
声明
Following is the declaration for java.lang.StringBuffer.toString() method
public String toString()
参数
NA
返回值
This method returns a string representation of this sequence of characters.
异常
NA