One way to do this would make three int variables, assigned to each number. Then generate a random number from 1-3 using the Random object, and then use if/else statements to determine which number it would be. Though there may be a better way of going about this.