aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Picture need... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Picture need..." Watch "Picture need..." New topic
Author

Picture need...

Netty poestel
Ranch Hand

Joined: Sep 20, 2004
Posts: 131


can anyone put this 3-D array in a 'box' drawing , like the K&B book shows on arrays [ for e.g Lesson I, fig. 1-3].
a picture shall say > 1000 words

Thx. for any help
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Sorry I dont have the patience to draw boxes, but does this help:


I have not shown the indexes for the innermost elements because they are easy to see. I produced a flat printout of the array with the Java 5.0 java.util.Arrays.deepToString method. Then I indented and indexed it by hand. I've tried to mark arr[0][1][2] in a rather clumsy way.
[ December 11, 2004: Message edited by: Barry Gaunt ]

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Netty poestel
Ranch Hand

Joined: Sep 20, 2004
Posts: 131
Thx again

I can atleast get it to work now.
For e.g this time around I could figure out myself what

(arr[3][0][1])

and

(arr[3][1][0]) & arr[1][1][0])

shall yield.

I've drawn myself a sketch on an A4 and I think I have a hang on the 3ds.
Thx.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Picture need...