Random random = new Random();
random.ints().limit(15).forEach(System.out::println);

BY Best Interview Question ON 13 Jan 2019