#### Java / Using String

# What is the initial capacity of a StringBuilder object in Java?

It is the **length of the initial string plus 16 **.For example, new StringBuilder("javapedia"), the length of the string is 9 + 16 = 25, the initial capacity of the object.

More Related questions...