// BirthdayProblem.java // Written (mostly) in class on Tue 6-Oct-09 import java.util.Random; public class BirthdayProblem { private static final Random random = new Random(); // Place "people" people in a room, each with random // birthdays, and return true if there are any duplicate // birthdays. public static boolean doBirthdayTrial(int people) { boolean[] birthdaySeen = new boolean[365]; for (int person=0; person