In the process of doing this lab exercise, you will use function overloading. Click the little computer above for a detailed description. You do NOT have to hand in this lab exercise, but doing it will help you in your class work. There will be questions on the class quizzes and exams based on the lab material. If you need help during the week, you are welcome to go to CL119 during Office Hours posted for lab instructors.
Inheritance is one of the most important concepts in object-oriented programming languages.
The derived class can then add more things that are unique to their own purposes. Actually, this concept, like many other seemingly intimidating concepts, can be clearly explained with a simple example. It is natural for us to define a class for this purpose. Let's call this class twoD . In other words, the definition of the threeD class adds little new code to the definition of the twoD class.