/**
 * Tests the Person class by creating an instance
 * and printing out the results of various method calls.
 *
 * @author Zach Tomaszewski
 * @version 03 Mar 2008
 */
public class PersonTester {

  public static void main(String[] args) {
    System.out.println("Bob was born in 1980.");
    Person bob = new Person("Bob", 1980);

    System.out.println();
    System.out.println("Bob's details from his Person object: ");
    System.out.println("Name = " + bob.getName());
    System.out.println("Year of Birth = " + bob.getYearOfBirth());
    System.out.println("Current Age (roughly) = " + bob.getAge());
  }

}
