Discussion Board
Go to the previous messageThere are no next messages
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).
Post response

Go to the previous messageThere are no next messages
Current Thread Detail:
random number      Lee, Chi-Chung Steven      Sun Sep 23 2001 1:57 pm       
Re: random number      Lee, Charles C.      Sun Sep 23 2001 2:50 pm       

Back to previous screen