new Random().nextBoolean()
Never mind gjm11's response unless your doing things with crypto and such where same seed problem matters.
Java's Random api is quite nice, but people screw it up by not understanding the options.
new Random().nextBoolean()
Never mind gjm11's response unless your doing things with crypto and such where same seed problem matters.
Java's Random api is quite nice, but people screw it up by not understanding the options.