InterviewSolution
Saved Bookmarks
| 1. |
Which data members can be inherited but are private to a class?(a) Private(b) Protected(c) Protected and Static(d) Privately inheritedI have been asked this question in an interview.The origin of the question is Data Members in chapter Class Members & Types of Object Oriented Programming |
|
Answer» Correct answer is (b) Protected |
|