A pure virtual function
A) must be accompanied by a virtual constructor of the same class.
B) must be overridden in a derived class for the function to be useful.
C) executes more efficiently than a non- pure virtual function.
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: Static binding occurs when the compiler binds
Q6: When the compiler binds a call to
Q7: In C++ polymorphism is very difficult to
Q7: The term means the ability to take
Q8: To indicate that a member function of
Q9: A virtual function is declared by placing
Q10: Polymorphism is when in a class hierarchy
Q11: When more than one class is derived
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