The Artima Developer Community
Sponsored Link

Java Answers Forum
Difference between ArrayList and Vector

1 reply on 1 page. Most recent reply: May 22, 2002 4:47 AM by Singh M.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
goyal_ankur

Posts: 1
Nickname: ankurgoyal
Registered: May, 2002

Difference between ArrayList and Vector Posted: May 22, 2002 3:59 AM
Reply to this message Reply
Advertisement
Hi All,
I am a novice in Java and so i may sound a bit weird.But in the Collection Framework I wanted to know the difference between ArrayList and Vectors.At which place which object should be used.
Thanks


Singh M.

Posts: 154
Nickname: ms
Registered: Mar, 2002

Re: Difference between ArrayList and Vector Posted: May 22, 2002 4:47 AM
Reply to this message Reply
The short answer is that Vector is synchronized whereas ArrayList is not.

Flat View: This topic has 1 reply on 1 page
Topic: To:Matt Gerrans Previous Topic   Next Topic Topic: to increment a time function to draw graphs

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use