What is maximum size of arraylist in java?



What is maximum size of arraylist in java?..

Answer / Nishtha Pant

The maximum size of an ArrayList in Java is Integer.MAX_VALUE, which represents approximately 2.1 billion.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is the best way to findout the time/memory consuming process?

1 Answers  


What is java console application?

1 Answers  


Which class represents the socket that both the client and server use to communicate with each other?

1 Answers  


Name the types of 'priority'?

2 Answers  


What does n mean in java?

1 Answers  


What are some alternatives to inheritance?

1 Answers  


What is a double?

1 Answers  


What is the immediate superclass of the Dialog class?

2 Answers  


Is a boolean variable?

1 Answers  


List the different types of classloaders in java.

1 Answers  


In what types of operations an ArithmeticException will be thrown?

3 Answers  


What is the difference between overriding and overloading in OOPS.

1 Answers   Axtria, ITC Indian Tobacco Company,


Categories