Saturday, December 3, 2011

java Collections overview

following are the different collections that we used in java 1.Vector:- is an implementation of list's class and accommodation the allowable array of objects i.e dynamic Synchronized. order of the elements are insertion order. 2.ArrayList:- same as Vector except synchronized supports dynamic array. unsynchronized. order of the objects is in insertion order. 3.LinkedList:- is also same as ArrayList when we will use LinkedList;- retrieving an objects is faster compared to ArrayList and Vector


Note: Only a member of this blog may post a comment.