What is the maximum length of List in java? I mean that how many maximum elements can store in list?
Integer.MAX_VALUE
or heap which ever is low will be the limit