63.2k views
1 vote
A two-dimensional array can have elements of ________ data type(s).

User Calaf
by
7.8k points

1 Answer

2 votes
The answer is "One". The number of dimensions is the representation of the array and has nothing to do with the data types the array can contain.

All array's can only hold one data type, the type it was initialized with.
User Thong Nguyen
by
8.2k points

No related questions found