G
Guest
If I have a class A that has a virtual public function DoSomething()
Class A
{
public:
virtual void DoSomething();
}
then I override this function to protected is class B
Class B: public Class A
{
protected:
void DoSomething();
}
Is this valid? Thanks!
WJ
Class A
{
public:
virtual void DoSomething();
}
then I override this function to protected is class B
Class B: public Class A
{
protected:
void DoSomething();
}
Is this valid? Thanks!
WJ