java - ArrayList and array: Why do they have different max lengths? -


according these questions so:

  1. list max size
  2. array max length

the max length of array integer.max_value - 5,
whereas max size of list integer.max_value

when @ arraylist, wrapper around array.

how can wrapper allow length longer of array under hood?


Comments

Popular posts from this blog

What can cause "Required Package 'IndyCore' not found" when compiling a Delphi 2010 project? -

Change the color of an oval at click in Java AWT -