Y
Yu Lianqing
In the following code segment, is the statement
me.set();
correct?
class grandfather {
...
void set();
};
class father : public grandfather {
...
};
class son : public father {
...
};
son me;
me.set();
me.set();
correct?
class grandfather {
...
void set();
};
class father : public grandfather {
...
};
class son : public father {
...
};
son me;
me.set();