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 purpose of finalization in java programming?

554


Explain the differences between abstraction and encapsulation?

509


Can you write a java class that could be used both as an applet as well as an application?

511


What are the super most classes for all the streams?

1160


List primitive java types?

585






Can a class be declared as static?

667


What do you know about java?

513


What is an error in java?

631


when should you use stringbuilder class in a program?

516


How to display names of all components in a Container?

2482


What is the purpose of object oriented programming?

526


How is a variable stored in memory?

519


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

1651


What is byte value?

549


What is hash code collision?

579