Java tutorial
import java.util.Random; public class Main { public static void main(String[] args) { new Random().ints().limit(5).forEach(System.out::println); } }