Networks
Casual Mode - Take your time!
1 / 15
Correct
0
Incorrect
0
Score
0%
Multiple Choice
Which of the following methods is used to pre-allocate a space for a certain number of characters, after a StringBuffer has been constructed?
- setLength()
- length()
- capacity()
- startWith()
- ensureCapacity()