Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How ArrayList will be stored in Memory? (Conitguously or not?)

807599May 8 2007 — edited May 8 2007
Hi,

I have a doubt on arraylists. I would like to know, how arraylist elements will be stored in memory. Will they be stored in contiguous memory locations or not? Also Can anyone, please tell me the difference between ArrayList and Vector in terms of Size and Capasity, the use?

Thanks in advance,
Ravindranath Y
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 5 2007
Added on May 8 2007
17 comments
5,735 views