What's the difference between public, private, and protected? • • • A member (either data member or member function) declared in a private section of a class can…