Let š“ be the base class in C++ and šµ be the derived class from š“ withā¦
UGC NET 2019
LetĀ š“Ā be the base class inĀ C++Ā andĀ šµĀ be the derived class fromĀ š“Ā with protected inheritance. Which of the following statement is false for classĀ šµ?
- A.
Member function of classĀ šµĀ can access protected data of classĀ š“
- B.
Member function of classĀ šµĀ can access public data of classĀ š“
- C.
Member function of classĀ šµĀ cannot access private data of classĀ š“
- D.
ObjectĀ of derived classĀ šµĀ can access public base class data
Attempted by 426 students.
Sign up free to check your answer
Sign up freeLoading lessonā¦

