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


Please Help Members By Posting Answers For Below Questions

Does garbage collection occur in permanent generation space in jvm?

615


Which class is the superclass for all the classes?

541


Can we override final method?

577


What is the set interface in java programming?

637


What is module with example?

519






Can inner class be public in java?

564


In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?

848


Say any two properties in beans?

638


What is type parameter in java?

531


How will you add panel to a frame?

659


How do I print a “?

586


Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?

600


Is java programming easy?

551


What are the characteristics of java?

531


What is finally in Java?

590