public class MyPets
{
	public static void main (String[] args)
	{
		Animal rufus = new Dog();
		Animal oliver = new Cat();
		Animal angel = new Bird();

		System.out.println ("I am a " + rufus.getType());
		System.out.println ("I eat " + rufus.eat());
		System.out.println ("I like to " + rufus.activity());
		System.out.println ("I say " + rufus.makeNoise());

		System.out.println ("I am a " + oliver.getType());
		System.out.println ("I eat " + oliver.eat());
		System.out.println ("I like to " + oliver.activity());
		System.out.println ("I say " + oliver.makeNoise());

		System.out.println ("I am a " + angel.getType());
		System.out.println ("I eat " + angel.eat());
		System.out.println ("I like to " + angel.activity());
		System.out.println ("I say " + angel.makeNoise());
	}
}
