public class ManyDice
{
	public static void main(String args[])
	{
		// Declare your array of Objects
		Die [] yahtzee;
		
		// Instantiate the array
		yahtzee = new Die[5];
		
		// Instantiate each element of the array
		for (int ii = 0; ii < yahtzee.length; ii++)
			yahtzee[ii] = new Die();
			
		// Roll all five
		for (int ii = 0; ii < yahtzee.length; ii++)
			yahtzee[ii].roll();
		
		// Display all five
		for (Die aDie : yahtzee)
			System.out.println(aDie.getFace());
	
	}
}
		