What is difference between list and array list?



What is difference between list and array list?..

Answer / Virendra Nath

List and ArrayList are similar in that they are both dynamic-size data structures used to store collections of objects. However, ArrayList is a specific implementation of the List interface in Java, which is based on an array under the hood, offering faster access time for random elements due to its index-based structure. Lists, on the other hand, can be implemented using different data structures such as linked lists.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

In depth questions regarding the data structures and the Databases used in the Projects developed.

1 Answers   Motorola,


Explain the applications of stack?

1 Answers  


Is a list an array?

1 Answers  


Is hashmap ordered?

1 Answers  


What is dynamic array how is it created?

1 Answers  


Whether Linked List is linear or Non-linear data structure?

1 Answers  


What stack means?

1 Answers  


What is a queue in data structure?

1 Answers  


Can hashset contain null?

1 Answers  


What is the function of stack?

1 Answers  


What are the topics in data structures?

1 Answers  


Why hashtable is faster than arraylist?

1 Answers  


Categories