Computer Science - Object Oriented Programming Using C++

11. 

Which of the following calls a function named displayName, passing it no actual arguments?

A. call displayName;
B. call displayName ();
C. displayName;
D. displayName();

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

12. 

The feature that allows you to use the same function name for separate functions that have different argument lists is called _____

A. overriding
B. overloading
C. constructing
D. destructing

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

13. 

Which of the following are valid characters constants?

A. '\n'
B. '\\'
C. '\0'
D. All of the above
E. None of the above

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

14. 

With a template class, _____ type is generic

A. no
B. exactly one
C. at least one
D. at most one

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

15. 

If you want to use a class to define objects in many different programs, you should define the class in a C++ _____ file

A. header
B. program
C. source
D. text

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.