More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know.
Ans. Default size is 10.
Regard how size will increase.
Inside add() method there is one method called ensureCapacity() which will check list has enough size available.
This ensureCapacity() method if found size of list need to increase then it will call grow() method which will create new list of extra size and copy existing list data to new one and return.
Help us improve. Please let us know the company, where you were asked this question :