Forum: Java Aug 15th, 2006 |
| Replies: 4 Views: 5,194 Re: Random number generator try this
public static int getRandom(int n) {
Random generator = new Random();
// initiates a Random object to the generator
// variable
return... |
Forum: Troubleshooting Dead Machines Aug 15th, 2006 |
| Replies: 1 Views: 3,152 |