how to make a random number with a seed in java code example Example: java random seed Random rand = new Random(System.currentTimeMillis());