| Author |
Difference b/w Array, arraylist, vector
|
SJ Rao
Greenhorn
Joined: Mar 05, 2003
Posts: 25
|
|
What is the difference between Array, ArrayList, Vector ? Need this info imm.. pl someone give me a clear picture. Thanks in advance SJ
|
 |
Chinmay Bajikar
Ranch Hand
Joined: Dec 08, 2001
Posts: 159
|
|
Hi, Array is a simple array which u use in other languages. ArrayList is a part of java.util package and internally maintains an Object array.It has put and get apis and it does not insist on the user to specify the size in advance. Vector is similar to ArrayList but is synchronized for thread safe access. Hope tht helps, Chinmay
|
The strength of the Wolf is the pack & the strength of the pack is the wolf....Rudyard Kipling
|
 |
SJ Rao
Greenhorn
Joined: Mar 05, 2003
Posts: 25
|
|
Thanks a lot Chinmay. It did give me a clear picture. SJ
|
 |
William Barnes
Ranch Hand
Joined: Mar 16, 2001
Posts: 984
|
|
|
Look here: click
|
Please ignore post, I have no idea what I am talking about.
|
 |
 |
|
|
subject: Difference b/w Array, arraylist, vector
|
|
|