Java tutorial
import java.util.Random; public class Main { public static void main(String args[]) { Random randomno = new Random(); // check next float value System.out.println("Next float value: " + randomno.nextFloat()); } }