// * Generating random numbers from 0.0 to 1.0 * double rand = Math.random(); System.out.println("Generated Random Number:"+rand);