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