This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Multiple Arrays Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Multiple Arrays" Watch "Multiple Arrays" New topic

Multiple Arrays

Kabs Pvt

Joined: Oct 31, 2001
Posts: 3
How we make <h3>multiple arrays</h3> and then filled with random numbers and then check that random numbers are not repeated can anybody help me..

int aa[][][]=new int[3][3][3]
Thanks in Advance
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

To step through that array you would do something like this:

Please ignore post, I have no idea what I am talking about.
Rikard Qvarforth
Ranch Hand

Joined: Jul 10, 2001
Posts: 107
you can populate the array with the Math.random() function
and then check the array in a nested for loop.
I agree. Here's the link:
subject: Multiple Arrays
It's not a secret anymore!