To indicate that a member function of a class is pure virtual,
A) you must include the <pure> header file.
B) you use the keywords pure virtual.
C) you must put = 0 where the body of the function would go.
D) All of the above
E) None of the above
Correct Answer:
Verified
Q3: Declaring a member function of a class
Q4: In C++, polymorphism is based on the
Q5: A pure virtual function
A)must be accompanied by
Q6: When the compiler binds a call to
Q7: The term means the ability to take
Q9: A virtual function is declared by placing
Q10: Polymorphism is when in a class hierarchy
Q11: When more than one class is derived
Q12: functions are dynamically bound by the compiler.
A)Constructor
B)Static
C)Destructor
D)Virtual
E)None
Q20: Pointers to a base class may be
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents