Which statement below could be used to simulate the outputs of rolling a six-sided die? Suppose randomNumbers is a Random object.
A) int outcome = randomNumbers.nextInt(8) + 1;
B) int outcome = randomNumbers.nextInt(6) + 1;
C) int outcome = randomNumbers.nextInt(12) + 1;
D) int outcome = randomNumbers.nextInt(4) + 1;