Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

A base class may also be called a
A:
child class
B:
subclass
C:
derived class
D:
parent class
Answer: D
No answer description is available. Let's discuss.
Which of the following assigns the number 5 to the area variable?
A:
area 1 = 5
B:
area = 5
C:
area == 5
D:
area --> 5
Answer: B
No answer description is available. Let's discuss.
C++ allows you to define the same functions more than once in the same program _____
A:
if the definitions are identical
B:
if the definitions are included in two separate #include files
C:
if the definitions are located in a single #include file that is included more than once
D:
C++ does not allow you to define the same functions more than once in the same program
Answer: D
No answer description is available. Let's discuss.
A widget is to the blueprint for a widget as an object is to
A:
a member function
B:
a class
C:
an operator
D:
a data item
Answer: B
No answer description is available. Let's discuss.
To use either an input or output file, the program must include the _____ header file
A:
filestream.h
B:
fstream.h
C:
instream.h
D:
inoutstream.h
Answer: B
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz