Which of the following methods is used to pre-allocate a space for a certain number of characters, after a StringBuffer has been constructed?
Reveal answer
Fill a bubble to check yourself
Which of the following methods is used to pre-allocate a space for a certain number of characters, after a StringBuffer has been constructed?