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 |
In depth questions regarding the data structures and the Databases used in the Projects developed.
Explain the applications of stack?
Is a list an array?
Is hashmap ordered?
What is dynamic array how is it created?
Whether Linked List is linear or Non-linear data structure?
What stack means?
What is a queue in data structure?
Can hashset contain null?
What is the function of stack?
What are the topics in data structures?
Why hashtable is faster than arraylist?