pseudorandom number generator java with seed code example Example: java random seed Random rand = new Random(System.currentTimeMillis());