// // dob - date of birth // // Author : K.J. Chan // Date : Novermber 2008 // Language : Java // Description: a class that describes the date of birth // class dob { private int day ; private int month ; private int year ; dob( int day, int month, int year ) { this.day = day ; this.month = month ; this.year = year ; } public int get_day() { return day ; } public int get_month() { return month ; } public int get_year() { return year ; } public String toString() { System.out.printf( "%3d - %3d - %3d\n", day, month, year ) ; return "Kenny" ; } }