The keyword _______ is used to access the base class’s members in the derived class.
- super
- this
- parent
- base
In C++, the "base" keyword is not actually used. The correct way to access base class members is through the use of the base class name or the scope resolution operator. However, "base" is a term from C#.
Loading...
Related Quiz
- When is a copy constructor called in a C++ program?
- To handle an exception thrown, a _______ block is used to catch the exception.
- Which of the following scenarios is the most suitable for using a break statement in a professional codebase?
- You are developing a simulation that runs in discrete time steps...
- What implications does the "Rule of Three" have in C++ class design?