Review Questions

  1. What is inheritance?

  2. How do you call an overloaded constructor in the base class?

  3. What is another word for base class?

  4. How would you declare class a so that it inherits from class b?

  5. What is another term for derived class?

  6. What is a protected variable?

  7. What is another word for a function that is part of a class?

  8. Are private members inherited?

  9. When you have a derived class, which constructor is executed first . . . the derived class constructor or the base class constructor?

  10. When one class contains another class, what type of relationship is there?

C++ Programming Fundamentals
C++ Programming Fundamentals (Cyberrookies)
ISBN: 1584502371
EAN: 2147483647
Year: 2005
Pages: 197
Authors: Chuck Easttom © 2008-2017.
If you may any questions please contact us: