v04-l2-checkAllowed

(1/5)

With the following class definition, which statement is allowed in a method of the C class ?

class A {
protected:
    double x;
    // ...
};

class B : public A {
private:
    double x;
    // ...
};

class C : public B {
    // ...
};

???