1. Random random = new Random();
  2.  
  3. for(int i = 0; i < 100; i++) {
  4.     System.out.println(random.nextDouble());
  5. }