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...

What does the Big O complexity notation O(n) mean?

a. It means the algorithm efficiency is proportionate to the problem size of the input data or n b. It means the algorithm requires data input of size n c. It means the algorithm uses memory of size n d. It means the algorithm has an integer n performance

Computer Science & Information Technology

The ____________________, the central module of the Linux OS, performs two main tasks: acting as an interface to hardware attached to the computer and managing communication between processes.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Using ________ enables the user to select a group of non-continuous slides

A) [Ctrl] + [Shift] B) [Shift] C) [Ctrl] D) [Alt]

Computer Science & Information Technology

HTML consists of a set of codes, or ________, that are assigned to content in a document

A) protocols B) elements C) links D) tags

Computer Science & Information Technology