Hi , In java collection i know what is difference between ArrayList and Vector. Vectors are synchronized which will cause performance issues. So i what to know exactly what would be the performance issue if i use vectors in my application? When should we use vector instead of ArrayList?
If your program involves thread implementations, then you need to use vector instead of arrylist, which will effect your performance since all the methods in vector are synchronized which means only one thread at a time can use this method so it degrades the performance,
But if the application doesn't involves multiple threads we need to stick with ArrayLists