Howmany number of objects we can store in an ArrayList. Is
there any limit?
Answer Posted / phanindra
ArrayList is resizeable in nature. by default it's size is
10. whenever it reaches the maximum a new ArrayList object
will be created with capacity of (Initialcapacity*3/2+1)
so there is no Limit we can store any number of objects in
an ArrayList.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can we declare array without size in java?
What are the core java topics?
What is default switch case? Give example.
What is the advantage of preparedstatement over statement?
what is aggregation in java?
what is the difference between future and callable interface in java?
Is java 11 paid version?
What is the main functionality of the remote reference layer?
What is hash table in java?
What is the difference between array list and vector in java?
What is a file pointer?
What are the advantages of exception handling in java?
What is navigable map in java?
What is method overloading in java ?
What is difference between variable declaration and definition?