Fujitsu interview question

difference between inheritance and polymorphism