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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to prove that Array list is contiguous and Linked list isn't?

User_V1KBGSep 24 2022 — edited Sep 24 2022

We know that elements in an array list are stored in contiguous manner and elements in linked list are stored in non-contiguous manner. Is there any way to prove it? I mean any piece of code, through which we are able to show this behavior of array list and linked list.

Comments
Post Details
Added on Sep 24 2022
3 comments
450 views