The main method Polymorphism and inheritance