1. The difference between collections and arrays
1. Arrays can store basic data types and reference data types.
Collections can only store reference data types, not basic data types.
If we want to store basic data types in a collection, we need to package the basic data types into wrapper classes.
2. Arrays Fixed length, variable length set