A java program that implements Interfaces and Polymorphism