how to see the default capacity of the arraylist at any point. lets say if i keep on adding 100 elements then how will i know what is the default capacity of the arraylist list as it has been doubling when default capacity is full.
Arraylist Default Capacity
it’s initial default capacity is 10.