Howmany number of objects we can store in an ArrayList. Is
there any limit?
Answer Posted / rahulmishra642
It depends on list implementation.Since ArrayList is backed by an arrays so its size is limited to Integer.MAX_VALUE
and it can't hold more than interger.MAX_VALUE.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is set sorted in java?
What is the difference between I ++ and ++ I in java?
What is static import in java?
What is java string pool?
How does compareto work in java?
What should I import for arraylist in java?
How do you sort in java?
What is singleton math?
What is instance synchronization?
Can we have a try block without catch block?
what do you mean by marker interface in java?
What is unicode with example?
How are destructors defined in java?
Define the term string pool?
How to sort array in descending order in java?