Yes, just as for 1D arrays.
If you want a collection of a variety of types, you probably want to use a class to contain them, not an array.
The following program creates a 2D array of
int that implements
Details about declaring and constructing 2D arrays will
be explained later.
The declaration of
gradeTable uses an
initializer list as a short-cut way to create a 2D array
object and place values into it.
The list contains 7 rows each separated by a comma;
each row is a list of values.
What does the program print out?