Vector vs ArrayList in Java - Java @ Desk

Saturday, May 18, 2013

Vector vs ArrayList in Java


1) ArrayList is not thread safe where as AssayList is thread safe
2) ArrayList is faster since its not synchronized whereas Vector is slow






No comments:

Post a Comment