Which statement below could be used to simulate the outputs of tossing a quarter to get heads or tails? Suppose randomNumbers is a Random object.

A) int outcome = randomNumbers.nextInt(2);
B) int outcome = randomNumbers.nextInt(6);
C) int outcome = randomNumbers.nextInt(2) + 1;
D) int outcome = randomNumbers.nextInt(4);