+ 7

What is the differences between ArrayList and Vector?

Collection in JAVA

31st Jan 2018, 5:10 AM
ScOrPiOn
ScOrPiOn - avatar
5 Answers
+ 8
A Vector defaults to doubling the size of its array, while the ArrayList increases its array size by 50 percent. As the documentation says, a Vector and an ArrayList are almost equivalent. The difference is that access to a Vector is synchronized, whereas access to an ArrayList is not https://stackoverflow.com/questions/2986296/what-are-the-differences-between-arraylist-and-vector
31st Jan 2018, 3:40 PM
Scooby
Scooby - avatar
+ 7
You r right
31st Jan 2018, 4:31 PM
ScOrPiOn
ScOrPiOn - avatar
+ 6
Thank you SD
31st Jan 2018, 4:24 PM
ScOrPiOn
ScOrPiOn - avatar
+ 6
don't say thank you.help to another three people and tell them help other three people,small help do big impact â˜ș
31st Jan 2018, 4:26 PM
Scooby
Scooby - avatar