Which of the following can be virtual?
a) Constructors
b) Destructors
c) Ordinary functions
d) Friend functions
e) Static functions
b) Destructors
c) Ordinary functions
You might also like to view...
A(n) ____________ is a small rectangular box that pops up when you hover the mouse pointer over a button on the toolbar or in the toolbox for a few seconds.
a. Icon b. Tool Tip c. Message d. Alert
A linked list is normally specified by giving a pointer pointing to the first node of a list. An empty list has no nodes at all. What is the value of a head pointer for an empty list?
What will be an ideal response?
There are two general approaches for mapping an association to a set of collections. In Section 10.6.2, we map the N-ary association Statistics to two classes, a simple Statistics class to store the attributes of the association, and a StatisticsVault class to store the state of the links among the association links. In Section 10.4.2, we described an alternative approach where the association links are stored in one or both classes at the ends of the association. In the event associations were stored in both classes, we added mutually recursive methods to ensure that both data structures remained consistent. Use this second approach to map the N-ary Statistics association to Collections. Discuss the trade-offs you encounter and the relative advantages of each approach.
What will be an ideal response?
You can select everything in an entire document two ways: by triple-clicking within the document or with Ctrl + S
Indicate whether the statement is true or false