ArrayList vs Vector in Java
ArrayList and
Vector is two most widely used Collection class in Java and used to store object in ordered fashion. Every Java programmer which is introduced to Java Collection Framework either started with Vector or ArrayList. For beginners Difference between Vector and ArrayList in Java and
LinkedList vs ArrayList are two most
popular Java Interview question. ArrayList vs Vector is not only important on interview perspective but also on effective use of Java Collection API. After reading this article you will know
when to use Vector in Java,
When to use ArrayList in Java and would be able to compare ArrayList vs Vector over several important parameters e.g. Speed,
Synchronization, Code quality etc. Before seeing
difference on Vector vs ArrayList, let's What is common between the.