PRIVATE VISIBILITY
Member in private visibility mode are not only accessible inside the class to member function of the class .
PUBLIC VISIBILITY MODE
Member in protected visibility more of the class are not accessible to the object of the class but can be inherited .
Member in private visibility mode are not only accessible inside the class to member function of the class .
PUBLIC VISIBILITY MODE
Member in protected visibility more of the class are not accessible to the object of the class but can be inherited .