Frage im Vorstellungsgespräch bei Arbisoft

Difference between inheritance and polymorphism

Antwort im Vorstellungsgespräch

Anonym

7. Juni 2022

The basic difference between inheritance and polymorphism is that inheritance allows the already existing code to be reused again in a program, and polymorphism provides a mechanism to dynamically decide what form of a function to be invoked