Computer Science, asked by ajay6342, 5 months ago

difference between length and capacity in java?

Answers

Answered by harshpreetsingh20300
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