Array:An array is a fixed-size data structure that stores a collection of elements of the same type.
List:A list is a collection that maintains the order of its elements and allows duplicates. It can be implemented using various data structures, including ArrayLists.
Resize: Resizing refers to changing the size or capacity of a data structure dynamically, either by expanding or shrinking it as needed.