package Testing;

public class Die
{
  int numFaces=6;
  public static int roll()
  {
	 return (int) ((Math.random()*6)+1);
  }
}





NEW CLASS


package Testing;

public class GambleNum 
{
	public static void main(String[] args)
	{
		System.out.println(Die.roll());
	}
}