If the member variables of the base class are marked as protected, who can access those variables?
Correct Answer:
Verified
View Answer
Unlock this answer now
Get Access to more Verified Answers free of charge
Q1: When the derived class gets all the
Q2: The ifstream class is derived from the
Q3: A constructor of the base class is
Q5: All member functions in a base class
Q6: When we derive one class from another
Q7: The assignment operator is inherited from the
Q8: If two functions in the same scope)
Q9: A derived class automatically gets all the
Q10: An object of a derived class can
Q11: The base class has everything that is
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents