Working inheritance and polymorphism, method implemintation are cout method identifiers