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
Can we print null in java?
What are access specifiers in java ?
Can vector have duplicates in java?
How do you declare a destructor in java?
Explain about automatic type conversion in java?
What are meta-annotations?
What is a null class?
What is ascii format?
How many types of assembly languages are there?
What are multiple inheritances?
Can arraylist contain null values?
Which is better stringbuilder or stringbuffer?
How do you reverse sort a list in java?
What does next mean in java?
What is the difference between multiple processes and multiple threads?