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

c# - Unity IoC Lifetime per HttpRequest for UserStore -

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

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -