Forum Stats

  • 3,740,372 Users
  • 2,248,240 Discussions
  • 7,861,221 Comments

Discussions

Why Array is Static, whereas ArrayList is Dynamic?

User_CSSVB
User_CSSVB Member Posts: 1 Green Ribbon
edited Feb 28, 2021 9:30AM in New To Java

I understand from one of Array in Java posts that ArrayList is dynamic in size, whereas arrays are static in size.

Can someone explain to me, why the difference and how it works?

Tagged:
Sign In or Register to comment.