Vector Overview

Vector is very similar to ArrayList except that Vector is synchronized collection unlike ArrayList which is non-synchronized Features of Vector are as below Vector maintains insertion order Vector allows duplicate elements Vector is synchronized collection Since vector is synchronized, it takes performance hit and hence its not good to use in non-threaded environment Vector can […]

Share this article on