Can arraylist be resized?



Can arraylist be resized?..

Answer / Bharat Sah

Yes, ArrayList can be resized automatically when you add more elements than its current capacity. If the size exceeds the capacity, it will double the size of the ArrayList.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Why is merge sort faster?

1 Answers  


Why is hashset used?

1 Answers  


Why is data structure needed?

1 Answers  


Define rehashing?

1 Answers  


Define b-tree of order m?

1 Answers  


How to initialize Dictionary using collection initialize?

1 Answers   Wipro,


Explain in brief a linked list.

1 Answers  


What is Jagged Arrays?

1 Answers  


Define leaves?

1 Answers  


What is sort order?

1 Answers  


What is the difference between Array and LinkedList?

1 Answers  


State the properties of b tree.

1 Answers  


Categories