difference between length and capacity in java?
Answers
Answered by
1
Answer:
length increase by the number of character append to the string. the capacity is increased only when the current capacity is exceeded by the new length.
please thank me.......
Similar questions
Math,
2 months ago
Social Sciences,
2 months ago
Math,
5 months ago
Science,
5 months ago
Geography,
10 months ago