The access restriction specified to the class members( whether it is member function or data member) is known as access modifiers/specifiers.
Access Modifiers are of 3 types:
* Private – It can neither be accessed nor be viewed from outside the class
* Protected – It can be accessed if and only if the accessor is the derived class
* Public – It can be accessed or be viewed from outside the class