This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Multi-dimensional Array Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Multi-dimensional Array" Watch "Multi-dimensional Array" New topic
Author

Multi-dimensional Array

Dina Jack
Greenhorn

Joined: Jan 15, 2004
Posts: 1
Hello All!
I've been trying to figure out multi-dimensional arrays and am having no luck. I understand arrays but I am totally lost with the multi's when they are more than 2 dimensional. None of my java books (about 3-4) have a very clear explanation.
Does anyone know where I could find a great explanation? This seems to be important on the SCJP exam but in my coding experience, I've only had to work with two dimensional arrays at most.
Thanks!
-Dina
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4340
    
    2

cant help with that, but just wanted to say i kind of doubt you will see anything on SCJP with more than 2-dimensional.


SCJP
Visit my download page
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Think of them as arrays of arrays.
int[][][]
would be an int array which contains some two dimentional int arrays.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
By the way, Dina J, welcome to JavaRanch!

Please adjust your display name to meet the JavaRanch Naming Policy.
You can change it here.

Thanks!
 
wood burning stoves
 
subject: Multi-dimensional Array
 
Similar Threads
Arrays
creating table on client side
tutorial of 2-dimensional arrays
Multi-dimensional arrays
Cannot understand the program