please solve this question related to java programming( strings).be fast !
Attachments:
Answers
Answered by
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!
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
2
Answer:
+16is the correct answer for this question
Similar questions