Multiple Choice
Downcasting enables:
A) A derived-class object to be treated as a base-class object.
B) A base-class object to be treated as a derived-class object.
C) Making a base-class pointer into a derived-class pointer.
D) Making a derived-class pointer into a base -class pointer.
Correct Answer:

Verified
Correct Answer:
Verified
Q6: Which of the following statements about virtual
Q7: Which of the following is not allowed?<br>A)
Q8: Virtual functions must:<br>A) Be overridden in every
Q9: Problems using switch logic to deal with
Q10: An abstract class will:<br>A) Have all zero
Q12: Which of the following statements is true?<br>A)
Q13: The main difference between a pure virtual
Q14: Which of the following would not be
Q15: Run-time type information can be used to
Q16: Virtual destructors must be used when:<br>A) The