Although arrays are very efficient lightweight data types, they have several limitations we should be aware of:
In many cases, we need more sophisticated data structures to help us solve our programming problems, such as:
For those, we can rely on the Java Collections API, which we will see in the following module.