This is used to ensure the capacity at least equal to the given minimum.
What the function of capacity() method of StringBuilder class in java?
What the function of reverse() method of StringBuilder class in java?
What the function of delete(int startIndex, int endIndex) method of StringBuilder class in java?
What the function of replace(int startIndex, int endIndex, String str) method of StringBuilder class in java?
What the function of insert(int offset, String s) method of StringBuilder class in java?