2 Replies Latest reply: Mar 9, 2013 2:14 PM by gimbal2 RSS

    How ArrayList supports random access?

    800839
      Hi,

      How ArrayList supports random access? we say arraylist supports random acccess of data and LinkedList supports sequential access. Here what exactly is random internally ArrayList uses Random API to access the data in a faster manner ? which is not supported by LinkedList? Please clarify with examples.

      Thanks.