<AptiCode/>

Question 748: Which collection class allows you to grow or shrink its size and provides indexed access to its elements, but whose methods are not synchronized?

tcs
wipro
infosys
general
aptitude
objects-and-collections

All of the collection classes allow you to grow or shrink the size of your collection.ArrayListprovides an index to its elements. The newer collection classes tend not to have synchronized methods. Vector is an older implementation ofArrayListfunctionality and has synchronized methods; it is slower thanArrayList.