Write a code segment that sets the variable sideUp to a random integer between 1 and 6.
Random rand = new Random(); sideUp = rand.nextInt(6) + 1;