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 is an image buffer?
Is string is a data type in java?
What is a layout manager and what are different types of layout managers available in java awt?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
What is a instance variable in java?
What is r * in math?
Is 0 true or false?
When would you use a static class?
What about features of local inner class?
Where can I find jdk in my computer?
Explain the init method?
Can an interface have a class?
When should we create our own custom exception classes?
Is list thread safe in java?
What does yield method of the thread class do?