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 empty list in java?
Can we define static methods inside interface?
when to use ArrayList and when to use HashMap in webApplication.
What is the difference between JDBC 1.0 and JDBC 2.0?
Write a java program to check if a number is prime or not?
Is null a value?
Can singleton class be cloned?
What is the ==?
What is lambda programming?
How to calculate the length of a singly linked list in java?
Can we create a class inside a class in java?
State the difference between creating string as new () and literal.
Explain java thread life cycle.
How many decimal digits is 64 bit?
What is the default value of byte datatype in java?