• Courses
  • Tutorials
  • Practice
Switch to Dark Mode

What is the default initial capacity of an ArrayList when it is created using the no-arg constructor?

Last Updated : Apr 1, 2025
Discuss
Comments

What is the default initial capacity of an ArrayList when it is created using the no-arg constructor?


A

5

B

10

C

20

D

1

Share your thoughts in the comments