Howmany number of objects we can store in an ArrayList. Is
there any limit?
Answer Posted / phanindra
ArrayList is resizeable in nature. by default it's size is
10. whenever it reaches the maximum a new ArrayList object
will be created with capacity of (Initialcapacity*3/2+1)
so there is no Limit we can store any number of objects in
an ArrayList.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the advantages of java over cpp?
Why array is used in java?
Where are local variables stored?
What is the applet security manager, and what does it provide?
Explain about serializable interface in java?
What is the difference between static method and instance method in Java?
Explain the term virtual machine?
Write a java program to check if a number is prime or not?
What are different types of references?
How does varargs work in java?
Does java support function overloading, pointers, structures, unions or linked lists?
Is alive method in java?
how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application
What is a void in java?
How does java pattern compile work?