IBM Interview Question

Explain inheritance, polymorphism, ans give examples.