This is a bit of an odd question and hard to find an answer for.
Here is the code:
int[][][][] array = new int[3][2][6][8]; int x = 0; for (in