This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Difference between arraylist and vector is that, arraylist is synchronized where as vector is synchronized, in arraylist when the data added increases array size will increase, but in vector when initial size should be specified, if we add more data to it, it will double the size giving more allocations.
According to my knowledge, these are the diffrences i know.
Please tell me these differences are correct or not. If more differences are there, post those answers.
If arraylist is not synchronized, how we can do it synchronized.
If already list is there, what is the need of arraylist.