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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Multiple Arrays