Multiple choice

Which of the following statements is/are true?

i. Linked-List is sequential accessing. ii. Linked-List is random accessing. iii. Array-List is random accessing. iv. Array-List is sequential accessing.

  1. i. and iv. both are true

  2. i. and iii. both are true

  3. ii. and iii. both are true

  4. ii. and iv. both are true

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This answer is correct. Linked-List is sequential accessing. It means that the data which is added to Linked-List will be retained in the order they are inserted whereas Array-List is random accessing. It means that the data which is added to Array-List will not be retained in the order they are inserted.