59.6k views
2 votes
Arrays save space because all elements of an array are stored in a single memory location while a list of variables needs a separate location for each variable.

a. True
b. False

1 Answer

5 votes

Answer:

The correct option is A True

Step-by-step explanation:

Arrays are implemented to store sevaral variables of the same type as a single array object in java for example. The arrays therefore acts as a container that can store several variables of the same type hence preventing the need to declare those variables seperately thus giving more code efficiency and better storage space management.

User Artemn
by
5.5k points