Difference between Vector and ArrayList?

Vector is serialized whereas arraylist is not

Showing Answers 1 - 9 of 9 Answers

nitin

  • Aug 17th, 2005
 

vector can store object but arraylist cannot. 
vector by defualt has size of 10 but arraylist size is 1.

  Was this answer useful?  Yes

Akmal

  • Jun 17th, 2006
 

Why r u giving the wrong answers in group.

ArrayList also store the objects like vecor.Next time plz don't give.

  Was this answer useful?  Yes

Gokul

  • Sep 8th, 2006
 

both ArrayList and Vector by default has the size = 0

  Was this answer useful?  Yes

Robert

  • Feb 1st, 2007
 

I am not getting the meaning of vectors are searilized and arraylist are not searilized please give me brief .

  Was this answer useful?  Yes

Robert

  • Feb 1st, 2007
 

it is not good such type of answers .where vectors and array list both are having same size 0.

  Was this answer useful?  Yes

Sitaramayya Dara

  • Jun 16th, 2007
 

Arraylist and Vector both are classes. These classes are available in java.util package. Arraylist is non syncronized and vector is syncronized. Arraylist is very fast comparision of vector.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions