Multiple Choice
The following code is an example of the correct use of the virtual keyword (assume Student is a subclass of Person ) : ____.
A) virtual public Person
B) class Student : public Person (virtual)
C) virtual class Student : public Person
D) class Student : virtual public Person
Correct Answer:

Verified
Correct Answer:
Verified
Q34: Multiple inheritance is _ required.<br>A) always<br>B) never<br>C)
Q35: A(n) _ class is also called the
Q36: No matter which access specifier you use
Q37: A(n) _ is a very specific instance
Q38: When a derived class object is destroyed,
Q40: Consider the following code fragments: <br>class PetStoreItem
Q41: Why are functions sometime overridden in derived
Q42: What should be the first line of
Q43: Why does inheritance save you time?
Q44: _ data and functions can be accessed