package com.example.interfaces;

public class TestInterface {

	public static void main(String[] args) {
		Bird b = new Bird("pink");
		System.out.println("Bird has " + b.getFeet() + " feet.");
		b.takeoff();
		b.flying();
		b.landing();

		Airplane a = new Airplane();
		System.out.println("Airplane has " + a.getWings() + " wings and " + a.getWheels() + " wheels.");
		a.takeoff();
		a.flying();
		a.landing();
	}

}
