So you can declare an array in Java in two ways:
1.) The usual way:
int[] values = new int[3]; 
values[2] = 3; 
2.) The easier way:
int[] values = {2,3,4};
For more dimensions:
int[][] numbers = {{2,5,6},{10,76,52}}; 
So my questions are:
- What is the name of technique number 2? How would I differenciate the two? 
- How can I extend technique number 2 to more that 2 dimensions? 
Thank you for all your answers and I apologize if this question has been asked on SO already (in which case, kindly give me the link).
 
    