2d array set up

hi at the momment i have 3 arrays id like to combine them into a 2d array

int[] band0 ={0,1,2,0,0,1,2,0,0,1,2,1,0,1,0,3};// reel band0

int[] band1 ={0,1,2,0,0,1,2,0,0,1,2,1,0,1,0,3};// reel band1

int[] band2 ={0,1,2,0,0,1,2,0,0,1,2,1,0,1,0,3};// reel band2

so soming like this

int[] band[0] ={0,1,2,0,0,1,2,0,0,1,2,1,0,1,0,3};// reel band0

int[] band[1] ={0,1,2,0,0,1,2,0,0,1,2,1,0,1,0,3};// reel band1

int[] band[2] ={0,1,2,0,0,1,2,0,0,1,2,1,0,1,0,3};// reel band2

so to access it i typeband[0][9]

how do i go about properly setting this up thanks :)

[1314 byte] By [russdxa] at [2007-11-26 17:08:24]
# 1

int[][] band = {

{0,1,2,0,0,1,2,0,0,1,2,1,0,1,0,3},

{0,1,2,0,0,1,2,0,0,1,2,1,0,1,0,3},

{0,1,2,0,0,1,2,0,0,1,2,1,0,1,0,3}

};

DrLaszloJamfa at 2007-7-8 23:36:15 > top of Java-index,Java Essentials,New To Java...
# 2
oh yeah makes sence lol thx :)
russdxa at 2007-7-8 23:36:15 > top of Java-index,Java Essentials,New To Java...