The two-dimensional array is a collection of items which share a common name and they are organized as a matrix in the form of rows and columns. The two-dimensional array is an array of arrays, so we create an array of one-dimensional array objects.
The following program shows how to create an 2D array :
Creating 2D array 0 1 2 3
Creating 2D array G e e k s f o r G