๐ Practice Mode
Networks
Learn at your own pace with hints and detailed explanations
1 / 15
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()