For Advanced Readers
-
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.
-
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?
-
A suitable place to store Class declarations is their own header files.
-
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?
-
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access