Current Forum: Homework 2 Forum |
Date: Sun Sep 23 2001 2:50 pm |
Author: Lee, Charles C. <chucklee@cmu.edu> |
Subject: Re: random number |
|
|
You can use the nextInt(int) method in Random(). Remember that that the random number generator creates a number between 0 and(input-1) if using nextInt(int). |
|