What is the difference between inheritance, encapsulation and polymorphism?
What is the difference between inheritance and polymorphism?