Computer Science - Object Oriented Programming Using C++

6.
If you want only one memory location to be reserved for a class variable, no matter how many objects are instantiated, you should declare the variable as
static
unary
dynamic
volatile
Answer: Option
Explanation:
No answer description is available. Let's discuss.

7.
To use a template class member function, use the ________ with the instantiation
scope resolution operator
dot operator
class definition
keword template
Answer: Option
Explanation:
No answer description is available. Let's discuss.

8.
When a class is derived from another derived class, the newly derived class
may have more liberal access to a base class member than its immediate predecessor
may have the same type of access to a base class member as its immediate predecessor
may have more limited access to a base class member than its immediate predecessor
both (b) and (c)
Answer: Option
Explanation:
No answer description is available. Let's discuss.

9.
If you assign a default value to any variable in a function prototype's parameter list, then _____
all other parameters in the function prototype must have default values
all parameters to the right of that variable must have default values
all parameters to the left of that variable must have default values
no other parameters in that prototype can have default values
Answer: Option
Explanation:
No answer description is available. Let's discuss.

10.
The dot operator (or class member access operator) connects the following two entities (reading from left to right):
a class member and a class object
a class object and a class
a class and a member of that class
a class object and a member of that class
Answer: Option
Explanation:
No answer description is available. Let's discuss.