Dice.java * Simulates rolling two dice, prints the values out (uses random ... 6 */ public static int roll() { Random rand = new Random(); int num = rand.
確定! 回上一頁