/**
 * Constructs a few Bird objects and demonstrates their methods.
 *
 * @author Zach Tomaszewski
 * @version 22 Oct 2008
 */
public class Aviary {

  public static void main(String[] args) {

    //the old way of building objects without a constructor
    //(only works now because I added an empty default Bird() constructor)
    Bird ost = new Bird();
    ost.type = "Ostrich";
    ost.size = Bird.LARGE;
    ost.canFly = false;

    //Can do the above 4 lines in one with a constructor
    Bird tweety = new Bird(Bird.TINY, true, "Canary");
    Bird bill = new Bird(Bird.SMALL, "Pigeon");

    //showing the different effects of the same print method called
    //on different objects
    System.out.println("Created 3 birds: ");
    ost.print();
    tweety.print();
    bill.print();



  }
}