and I'm moving this: from Servlets -> Java In General - Beginner [This message has been edited by Mike Curwen (edited December 11, 2001).]
Marilyn de Queiroz
Joined: Jul 22, 2000
Depends on whether you are using threads and need synchronization or not.
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Joined: Dec 18, 2000
There have been discussions about this in the "performance" section.
Joined: Jul 27, 2001
The simple answer: ArrayList Why? Vector has been around longer and developed into a sort of be-all do-all class with synchronization and support for many different API. ArrayList is a straitforward implementation of a List with no whistles or bells.