Question: what is the difference between arraylist and vector in java?
Answer: Vector and ArrayList both uses Array internally as data structure. They are dynamically resizable. ... But, ArrayList increases by half of its size when its size is increased. Therefore as per Java API the only main difference is, Vector's methods are synchronized and ArrayList's methods are not synchronized.