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
What are the restrictions imposed on method overriding?
What is the different between get and post?
What is bean? Where it can be used?
Is void a data type?
Can an interface be defined inside a class?
please send me hr interview questions in it industry
why are there separate wait and sleep methods? : Java thread
What happens when I use / and % with a negative numerator?
What does @param args mean in java?
Difference between method overloading and overriding.
How do generics work in java?
What is meant by structural programming?
Why can't you declare a class as protected?
What are the advantages of java?
If you do not want your class to be inherited by any other class. What would you do?