3D array initialization

Posted by xdevel2000 on Stack Overflow See other posts from Stack Overflow or by xdevel2000
Published on 2010-06-07T07:20:32Z Indexed on 2010/06/07 7:32 UTC
Read the original article Hit count: 208

Filed under:
|
|

I need to represent some spatial points: x,y,z

when I try to initialize the array like this:

int[][][] points
{
   {
      {100, 120, 10},
      {100, 120, 18},
      ...
   }
}

I got an error: Uncompilable source code - not a statement

where is the error?

© Stack Overflow or respective owner

Related posts about java

Related posts about array