what is the Arraylist limit (maximum) by default ?

Answer Posted / raj

Array List can store more than 3277000 numbers. However the
size of list is depends on the memory (heap) size. If it
reaches maximum the JDK throws out of memory exception.

Is This Answer Correct ?    67 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the maximum size of byte array in java?

525


What does exclamation mean in java?

559


Can we force the garbage collection to run?

521


Can static methods be inherited?

523


What do you mean by access modifier?

541






Name and explain the types of ways which are used to pass arguments in any function in java.

556


What is "this" keyword in java? Explain

649


How you can force the garbage collection?

533


What is a layout manager and what are different types of layout managers available in java awt?

706


why we use merge option in hybernate pls give a ex snippet

1442


What is a Null object?

879


Why we do exception handling in java and how many types of exceptions are there?

537


Why do we create threads in java?

561


Can we able to pass objects as an arguments in java?

522


What is public/private protected in java?

534