Question
a.
scalar variables
b.
programmer-defined objects
c.
both (a) and (b)
d.
neither (a) nor (b)
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. In a C++ program, which of the following can be thrown?
Similar Questions
Discover Related MCQs
Q. You must provide a constructor for a derived class
View solution
Q. If a derived class uses the public access specifier, then _____
View solution
Q. You _____ write your own container classes
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. You separate a derived class name from its access specifier with
View solution
Q. To use a template class member function, use the ________ with the instantiation
View solution
Q. When a class is derived from another derived class, the newly derived class
View solution
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
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!