For Advanced Readers
  1. The member access private is default access. We need not specify it explicitly. However, as a matter of style, we have always used keyword private for private members. It improves the readability of the code.

  2. We have said that “private methods are not of much significance, at least in simple programs”. Well can you think of some application for them?

  3. A suitable place to store Class declarations is their own header files.

  4. Java does not support the concept of friend. Can you think of the difficulties a C++ programmer will face if he is told not to use friend function?

  5. The concept of wrapper classes is exclusive to Java. There is no equivalent concept in C/C++. However, we (the programmers) do not need these classes in ...

Get Object Oriented Programming with C++, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.