Question: 1. what is the difference between arraylist and vector?
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.