Artikel Terbaru

Saturday, 3 December 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