- Explain the meaning of the phrase
"object orientation reduces the
complexity of programming."
- Explain the role of constructors.
What role do destructors play?
- What is the meaning of const? Give some examples.
- Characterize the two kinds of type conversions supported by C++.
- Why do you need friends?
- What is a canonical class?
Characterize its ingredients and give an example.
- Explain the handler/body idiom.
Give an example.
- What are generic types?
Why are they useful?
Explain how C++ supports generic types.
Give an example.
- Explain how inheritance may jeopardize
encapsulation.
Can you think of a solution?
- Give an example of a class allowing external
clients access to private data.
- Discuss the advantages and disadvantages
of inheritance.
- What extensions to the classical object model
can you think of?
Why are these extensions needed?
slide: Questions Chapter 2