Question: 16. [C++Access] Select one best choice for your answer, for C++ access control (as discussed in the class). What is the access specification for X,

 16. [C++Access] Select one best choice for your answer, for C++access control (as discussed in the class). What is the access specificationfor X, Y, Z defined in A as shown below, in classB, C, and D. Select each from the following choice of: classB public A X is (1)in in Zis (3)in class C X

16. [C++Access] Select one best choice for your answer, for C++ access control (as discussed in the class). What is the access specification for X, Y, Z defined in A as shown below, in class B, C, and D. Select each from the following choice of: class B public A X is (1)in in Zis (3)in class C X is (4)in Y is (5)in Zis (6)in In Base C s A class D vate A inc Ixis (7) in D public: int X; protected: int YY is (2) private: int Z, Y is (8)in Zis (9)in X is___in B A. public B. private C. protected D. not accessible E. none of the choices here

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!