/** Stores and manipulates birthday data */
class BirthdayRecord1 {
   /** Fields are name, birthday numbers */
   private String name;
   private int month;
   private int day;
   
   /* Constructor */
   public BirthdayRecord1(String name, int month, int day) {
      this.name = name;
      this.month = month;
      this.day = day;
   }
   /* Print the record */
   public void print(){
      System.out.println(name + " " + month + " " + day);
   }
   
   /* Get and Set */
   public String getName() {
      return name;
   }
   public void setName(String name){
      this.name = name;
   }   
   public int getMonth() {
      return month;
   }
   public void setMonth(int month){
      this.month = month;
   }
   
   public boolean isBirthday(int testMonth, int testDay){
      return month == testMonth && day == testDay;
   }
   
}