hi, i want to know what is the difference between arraylist and vector in case of performance. in what cases we should go for arraylist and in what case we should go for vector. is there any
Now a days vectorlists are not being used only the array lists are being used. vector list are single thread so the execution time will be more than the array list bcoz it will have locking of thread while that thread is being executed.. --Mahesh.p
One more difference between Array List vs Vector is that later is a legacy class and initially not part of Collection API
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.