Interview questions on Java, J2EE, Spring, Struts, Hibernate
Good differences, nicely put in point format. another one is that vector was not member of collection framework prior to JDK 1.4 and later retrofitted into Collection API. see here for more differences between Vector and ArrayList
@AnonymousThanks a lot my friend!!thanks for commenting!!
ArrayList does allow null. Stop posting wrong information.
Vector is a part of collection frame work please go the 1.3 documentation of Oracle.
we can specify the increment size with the vector and with arraylist we can't.
One more difference between ArrayList vs Vector is that later is a legacy class and initially not part of Collection API