Java: ArrayList Vs Vector Class
Java: ArrayList Vs Vector Class
java.util.ArrayList and java.util.Vector both implements List interface and maintains insertion order. It’s having many differences as below:
ArrayList vs Vector ArrayList Vector ArrayList is not synchronized. Vector is synchronized. ArrayList increases 50% of the current array size if the number of elements exceeds its capacity. Vectorincrease 100% means doubles the array size when the…
View On WordPress















