Sobes.tech
Junior

What is the initial size of an ArrayList?

sobes.tech AI

Answer from AI

The initial size of ArrayList in Java defaults to 10. When elements are added and the size exceeds the current capacity, ArrayList automatically increases its capacity.