I'm not exactly sure what is causing it.
import java.util.Random;
public class Randoms
{
public static void main( String [] args )
{
Random r = new Random();
Random rr = new Random();
If ( r.nextInt(100) > rr.nextInt(100) );
System.out.println(rr);
Else
System.out.println(r);
}
}
Any ideas?

New Topic/Question
Reply



MultiQuote




|