Which one of the following statements is FALSE? A. The access privileges in C++ are private, protected and public. B. The default access level assigned to members of a class is private. C. Public members of a class can be accessed by everyone. D. Private members of a class can be accessed only within the class. E. Protected members are accessible by its sub-classes.
Total Answers and Comments: 4
Last Update: February 16, 2009 Asked by: prettyfox
Protected members are accessible by its sub-classes.
Protected members are not acceble by its sub classes as when they inherit base class protected variables of base class becomes private to sub class. So it can't access.