Topic 6 Topic 6 Inheritance and Inheritance and Polymorphism
"Question: What is the object oriented way of getting rich? Answer: Inheritance.“ “Inheritance is new code that reuses old code Inheritance is new code that reuses old code. Polymorphism is old code that reuses new code.”
CS 307 Fundamentals of Computer Science Inheritance and Polymorphism
1