Declaring a member function of a class to be a ________ will cause the C++ compiler to use dynamic binding.

A) constructor function
B) destructor function
C) static function
D) virtual function
E) None of the above


D) virtual function

Computer Science & Information Technology

You might also like to view...

Given a buffer full of English text, answer the following questions:

a. How would you change every instance of his to hers? b. How would you make this change only in the final paragraph? c. Is there a way to look at every usage in context before changing it? d. How would you deal with the possibility that His might begin a sentence?

Computer Science & Information Technology

A(n) ________ system is one that mimics another system continuously so that you can use it to represent the original

Fill in the blank(s) with correct word

Computer Science & Information Technology

Briefly describe Class B IP addresses.

What will be an ideal response?

Computer Science & Information Technology

Which of the following programs produces a summary of the memory status of your computer, including the total memory available, the amount used, and the amount that's unused?

What will be an ideal response?

Computer Science & Information Technology