import java.util.Random;
public class MainClass
{
public static void main(String[] args)
{
Random diceValues = new Random();
System.out.println(diceValues.nextInt(6));
System.out.println(diceValues.nextInt(6));
}
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment