what is seed in random number generator java code example Example: java random seed Random rand = new Random(System.currentTimeMillis());