File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Multi-dimensional Array

Dina Jack

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.
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4351

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

Visit my download page
Marilyn de Queiroz

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

"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

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

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

I agree. Here's the link:
subject: Multi-dimensional Array
It's not a secret anymore!