Computer Science, asked by Anonymous, 1 year ago

please solve this question related to java programming( strings).be fast !

Attachments:

Answers

Answered by Anonymous
7
Hi friend,

Your answer:

StringBuilder sb = new StringBuilder("Able was I ere I saw Elba.");

Initial capacity of the given string buffer =  
length of the initial string + 16

                                                               = 26 + 16

                                                               = 42

Hope it helps!
Answered by livingston42
2

Answer:

+16is the correct answer for this question

Similar questions