hi friends, we know that the difference between Arraylist and Vector is that methods of Vector are synchronized, while that of Arraylist are not.also Arraylist is an addition of Java2. are there any other differences between these two other than the above mentioned differences?kindly let me know if there are.
If you look at the source code, you can see, apart from the differences that you have mentioned, the capacity increment ratio of Vector and ArrayList are different as well. I think Vector's capacity doubles every time its size reaches its capacity, whereas ArrayList's capacity increase by a factor of 1.1 (or something similar).
btw, if that is not confidential, with which company did you have the interviews?