| Author |
Why initial size of String Buffer is 16
|
Naresh Shanmugam
Ranch Hand
Joined: Jul 16, 2010
Posts: 82
|
|
Does any body have any concrete idea on why the String Buffer's initial size is of 16 characters and why not 0 characters.
This would internally create a char array of initial size of 16. What is the idea behind "16"
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14670
|
|
|
Check Rob's guessing here.
|
[My Blog]
All roads lead to JavaRanch
|
 |
Naresh Shanmugam
Ranch Hand
Joined: Jul 16, 2010
Posts: 82
|
|
Thanks for your time Christophe
|
 |
 |
|
|
subject: Why initial size of String Buffer is 16
|
|
|