描述
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