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 we instantiate interface in java?
How to do encapsulation in java?
How do you create a sop?
Is double bigger than float?
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
If a method is declared as protected, where may the method be accessed in java programming?
Why to use nested classes in java? (Or) what is the purpose of nested class in java?
What is the use of default method in interface in java? Explain
What is the difference between math floor and math round?
What is difference between length and length() method in java ?
What are the features of java?
Why is sizeof not a function?
How do you make an arraylist empty in java?
How does varargs work in java?
Explain about the main() method in java?