aspose file tools*
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Multiple Arrays" Watch "Multiple Arrays" New topic
Author

Multiple Arrays

Kabs Pvt
Greenhorn

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: http://aspose.com/file-tools
 
subject: Multiple Arrays