In the private section of HashTable, we had a pointer to a function; yet, we did not need to write a destructor for HashTable because:
A. the Array data member takes care of freeing the memory used by the pointer to the function
B. pointers to functions free the dynamic memory that they point to automatically upon
destruction of the object that contains them
C. the function in dynamic memory can still be called after the HashTable object is destroyed, so there is no memory leak
D. the pointer to a function does not point to dynamic memory
D
You might also like to view...
A JFrame supports three operations when the user closes the window. Which of the choices below is not one of the three:
a. DISPOSE_ON_CLOSE. b. DO_NOTHING_ON_CLOSE. c. LOWER_ON_CLOSE. d. HIDE_ON_CLOSE.
A bitmap graphic is referred to in Word as a(n) drawing.
Answer the following statement true (T) or false (F)
By default, Project 2010 schedules recurring tasks based on the duration of the entire project.
Answer the following statement true (T) or false (F)
The “AT” in the Hayes AT standard command set was so named:
a. because a Hayes modem came standard with the “AT” PC computer specification. b. for the AppleTalk communications protocol that it uses. c. because the “@” (at) symbol is the standard conjunction between the user id and the domain (such as in most email addresses). d. because it established the Asynchronous Transfer mode. e. for the ATTENTION command that precedes all other commands.