Advantages of Arrays
Efficient
Quick to access
Easy to add to
Type-safe (can only add variables of the same type)
Disadvantages of Arrays
Fixed Size
Limited functionality
Java Collections
Java collections API provide developers with a set of classes and interfaces that make it easier to handle collections of objects.
Advantages or Java Collections:
Flexible
Can hold any type of object
Disadvantages of Java Collections:
Not as accessible
List
An ordered collection permitting duplicates
Set
A collection that contains no duplicates
Maps
Describes a mapping from keys to values without duplicate keys.