Topics

  1. Public: anyone can use the public members of a class (least restrictive).
  2. Protected: any derived class (child) that inherits from the base class can access the protected members.
  3. Private: only members of the same class can access the private members (most restrictive).