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

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -