Okay...I that it is possible to do the following...
but what is the point of doing this altered version...Code:class Person
{
public:
int var1;
int var1;
};
I know what it does (well, I think that it makes the class members after "protected:" unable to be accesed...correct me if I am wrong), but what is the point of doing it?Code:class Person
{
protected:
int var1;
int var2;
};
Thanks
-Chris