What is the limit of arraylist?



What is the limit of arraylist?..

Answer / Babli Singh

The limit of an ArrayList in Java is determined by the memory allocated to it. By default, the initial size of an ArrayList is 10, and its capacity doubles every time it reaches its current size limit when adding new elements beyond its capacity.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What is merge sort in daa?

1 Answers  


What is the use of prototype?

1 Answers  


Model a data structure for a DFA that takes an event as parameter and performs a desired action.

1 Answers   Adobe,


Differentiate between priorityqueue and treeset.

1 Answers  


What is range search?

1 Answers  


How do you declare An array of three char pointers

1 Answers  


How will inorder, preorder and postorder traversals print the elements of a tree?

11 Answers  


which is the simplest file structure? (Sequential, indexed, random)

1 Answers  


Does hashmap allow duplicate keys?

1 Answers  


What are the pre-requisite for the collection to perform binary search?

1 Answers  


If we add enum constants to a sorted collection ( treemap , treeset ), what will be the order in which they will be maintained?

1 Answers  


Write a program to reverse a single linked list.

1 Answers   CGI,


Categories