ArrayList Default Size
Arraylist is a dynamic array whose size increases as we add more elements to it. When an ArrayList is created without specifying its size then the size of Arraylist initially is zero. But when we add the first element to the list then size of ArrayList is increased to 10. This can be shown by … Read more