java - How much data can a List can hold at the maximum? -
how data can added in java.util.list in java @ maximum?
is there default size of arraylist?
it depends on list
implementation. since index arrays int
s, arraylist
can't hold more integer.max_value
elements. linkedlist
isn't limited in same way, though, , can contain amount of elements.
Comments
Post a Comment