An array is a fixed-size, ordered collection of elements of the same type, stored contiguously in memory. Arrays are foundational, but their fixed size means you often prefer ArrayList for dynamic collections.
Declaring and creating arrays
[] nums = [];
[] nums2 = {, , , , };
String[] names = [];
nums[] = ;
nums[];
nums.length;
