Programming - Constructor - Discussion

You Are Here :: Home > C++ Language > Constructor - Discussion

 



Q.

Which of the following statement is correct?                         


A. A constructor of a derived class can access any public and protected member of the base class. B. Constructor cannot be inherited but the derived class can call them.
C. A constructor of a derived class cannot access any public and protected member of the base class. D. Both A and B.

Answer: Option D
Explaination:

 


No Explanation




Discussion

Your Comments Goes here...
NameDiscussion