Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

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: A
No answer description is available. Let's discuss.
With a template class, _____ type is generic
A:
no
B:
exactly one
C:
at least one
D:
at most one
Answer: C
No answer description is available. Let's discuss.
Which of the following are valid characters constants?
A:
'\n'
B:
'\\'
C:
'\0'
D:
All of the above
Answer: D
No answer description is available. Let's discuss.
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: B
No answer description is available. Let's discuss.
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: D
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz