do you need to seed java random class code example Example: java random seed Random rand = new Random(System.currentTimeMillis());