Howmany number of objects we can store in an ArrayList. Is
there any limit?
Answer Posted / rajender
there is no restriction to store object in arraylist.it's
default size is 10.wenever it's reaches the maximum size
it's increase size(current capacity*3/2+1).
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Can an object be null?
How to do a true java ping from windows?
What does bitwise or mean?
What is outofmemoryerror in java?
I want to persist data of objects for later use. What is the best approach to do so?
What is the difference between the boolean & operator and the && operator in java programming?
How do you clear a list in java?
What is Hierarchy of exception?
What is 16 bits called?
Is string a class?
Write code of any action class?
Define Multiprogramming and Multiprocessing in java.
How do you escape a string?
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
What is difference between fail-fast and fail-safe?