Java Array Lists in 5 minutes

static vs dynamic arrays

JT Earl

--

What is it?

In programming, there is a concept of static and dynamic arrays. We declare a static array in Java as a set size. I go into more details on static arrays in my Java array post. A dynamic array means we can initialize the array without a set size. The dynamic array will also grow as you add more items to the array. There are several different types of dynamic arrays in Java but this article will cover the ArrayList. I’ll cover how to initialize an ArrayList, some helpful methods, and the pros…

--

--

JT Earl

Programmer Since 17. Currently working in front-end and mid-tier programming for a finance company. Check out my Tech blog @ documentobject.com