CS333 - Problem Solving and Object Oriented Programming in C++
[ Home | Schedule | Personal Progress | Search | Glossary | Help ]


Access Control in Inheritance

 

 

  1. When writing code in a derived class's member function, the "protected" access mode of the base class acts the same as the "public" or "private" access mode?

  2. When writing code in an ordinary function, the "protected" access mode of the base class acts the same as the "public" or "private" access mode?

  3. When writing code in a derived class's member function, you can access the private data members and functions of the base class (true/false)?

 

Choose one when done
 

 
 



Copyright chris wild 1999.
For problems or questions regarding this website contact [Chris Wild (e-mail:cs333@cs.odu.edu].
Last updated: November 27, 1999.