Home >
database > The interview questions often the difference between the Vector and Arraylist
The interview questions often the difference between the Vector and Arraylist
1) Vector thread is safe, (2) Arraylist is heavy, light safety is thread-safe, 3. The Arraylist is more economical than Vecter memory space, because the Vector doubling as the default, while the Arraylist only increases by 50%,