Question: This is an extract from the code fragment: 2 7 : class B 2 8 : { 2 9 : private: 3 0 : int
This is an extract from the code fragment:
: class B
:
: private:
: int y;
: protected:
: A objA;
: int getY;
: public:
: void setY;
: ;
:
: void B::setY
:
: y;
: int aobjA.getX;
:
Is line a valid statement?
Select one:
True
False
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
