File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 4347
    
    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: 9053
    
  12
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: 9053
    
  12
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multi-dimensional Array