A multidimensional array in Java is really an array within an array (and as more dimensions are added, the hall of mirrors continues)
You can refer below example for initializing multi-dimensional array:
class Array
{
public static void main(String args[])
{
int a[][]={{1,2,3},{2,4,5},{4,4,5}}; // Declaring and initializing multi-dimenasional array
for(int i=0;i<3;i++)
{
for(int j=0;j<3;j++)
{
System.out.print(arr[i][j]+" ");
}
System.out.println();
}
}
}