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 Multiple Arrays Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers 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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Multiple Arrays
It's not a secret anymore!