Multiple choice technology programming languages

An Array can store many different types of values

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Java arrays are statically typed - an array is declared to hold a specific type (like int[], String[]) and cannot hold mixed types. To store different types, you would need an array of Object or use a Collection.