Hi All, I'm a little confused on the directions of this one as well. I know how to declare and initialize a 3-dimensional array, but I'm not sure how to interpret this statement: * Initialize each cell with increasing integer number starting from 1000, 1001, 1002, and so on.*
Does this mean that the array should be 1000 x 1001 x 1002 as far as size? The directions don't specify the size of the array otherwise, so that's what I did. If I'm missing something please do let me know. Cheers, -m On Sat, Feb 7, 2009 at 11:14 PM, miga <migat...@gmail.com> wrote: > > > > On Feb 7, 7:33 pm, patrick jamesraj <patrickjames...@gmail.com> wrote: > > Hi, > > > > In the 1036_javaarray.zip > > (download<http://www.javapassion.com/handsonlabs/1036_javaarray.zip> > > ). > > (For your own exercise) Create a NetBeans project as following. Build > and > > run the program. > > > > - Declare and initialize 3-dimensional array of int > > - Initialize each cell with increasing integer number starting from > 1000, > > 1001, 1002, and so on. > > > > Can anyone help me by explaining on how to declare and initialize > > 3-dimensional array? > Think of it as an array of array, it will help to understand how > declaring and initializing it. > > > -- "Whatever I said, whenever I said it, it stands." -Master Shake --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, send email to javaprogrammingwithpassion-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---