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
Does garbage collection occur in permanent generation space in jvm?
Which class is the superclass for all the classes?
Can we override final method?
What is the set interface in java programming?
What is module with example?
Can inner class be public in java?
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
Say any two properties in beans?
What is type parameter in java?
How will you add panel to a frame?
How do I print a “?
Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?
Is java programming easy?
What are the characteristics of java?
What is finally in Java?