How to hard define in code a matrix Integer[][]

arrays, java, matrix

Solution

int[][] res = {{1,2,3},
               {4,5,6}};

Problem

Question is simple for an expert ``` Integer[][] res= new Integer[][] {.....hard code some values here on 2 dim...} ``` How to return here 2 rows and 3 cols like this ``` 1 2 3 4 5 6 ```

Original source