What is the initial quantity of the ArrayList list?
A. 5
B. 10
C. 0
D. 100
Answer:B
What is the initial quantity of the ArrayList list?
A. 5 B. 10 C. 0 D. 100
Explanation: The initial or default quantity of an ArrayList is 10. It means when we create an ArrayList without specifying any quantity, it will be created with the default capacity, i.e., 10. Hence, an ArrayList with the default capacity can hold ten (10) values.