Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Constructors don’t actually construct the object. The class makes the object and then executes a constructor to initialize the values of the fields (instance variables).

Member Access Specifiers

...

The members of a class are classified into three categories: private, public, and protected. In C++, private, protected, and public are reserved words and are called member access specifiers.

...