For Advanced Readers
  1. The class bool is new. Hence, it is reasonable to expect that writing bool values with cout, results in strings true or false. However, integer ‘0’ or ‘1’ is printed. It may be to keep compatibility with earlier versions of C++.

  2. It may be noted that JAVA keyword finally (and the facility thereof) is not present in C++.

  3. In our opinion, RTTI is a very useful facility in programs using polymorphism.

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.