Method 1: Using random class ... Invoke one of the following methods of rand object: nextInt(upperbound) generates random numbers in the range 0 to upperbound-1 .
確定! 回上一頁