Question
a.
may have more liberal access to a base class member than its immediate predecessor
b.
may have the same type of access to a base class member as its immediate predecessor
c.
may have more limited access to a base class member than its immediate predecessor
d.
both (b) and (c)
Posted under Object Oriented Programming Using C++
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. When a class is derived from another derived class, the newly derived class
Similar Questions
Discover Related MCQs
Q. With a template class, _____ type is generic
View solution
Q. Template classes that have already been written to perform common class tasks are called _____
View solution
Q. If two types of errors may be thrown, you should write _______
View solution
Q. If no exception is thrown ________
View solution
Q. Within parentheses, catch blocks can have _____
View solution
Q. To create a template class, you begin with _________
View solution
Q. If an integer object is thrown with a throw statement, then a subsequent catch block has a usable match if the type of the catch argument is _____
View solution
Q. The compiler determines the type used in a template function via ___________
View solution
Q. Catch blocks must _____
View solution
Q. An exception specification begins with the keyword _____
View solution
Q. A function in a derived class that has the same name as a function in the parent class _____
View solution
Q. When you instantiate a derived class object, a constructor for the derived class _____
View solution
Q. The difference between a return and a throw is that _____
View solution
Q. In the statement template<class T>,
View solution
Q. The generic name used for unexpected errors that occur during the execution of a program is
View solution
Q. You can code a default exception handler by creating a catch block
View solution
Q. A function that uses variable types is called __________
View solution
Q. A class D can be derived from a class C, which is derived from a class B, which is derived from a class A
View solution
Q. You can throw _____
View solution
Q. When a new class is derived from an existing class, the derived class member functions _____ have names that differ from base class function names
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming Using C++? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!