Howmany number of objects we can store in an ArrayList. Is
there any limit?
Answer Posted / abdul
Array list size will increase dynamically.By default we can
store 16 objects.If number of objects increases the
arraylist size increase dynamically as below.
(2*Prevous size+2)
For ex: (2*16+2)=34 next time
(2*34+2)= 70
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
Is int a class in java?
What is dot operator?
Why are getters and setters used?
What is a function in java?
Why does java not support operator overloading?
What is the argument in java?
What is the importance of static variable?
Which sorting algorithm is in place?
What is the method in java?
How do you implement polymorphism in our day to day life?
Can we declare an array without size in java?
What are the steps in the jdbc connection?
What is the original name of java?
Why is java multithreaded?
What is the function of http?