Answer the following questions true (T) or false (F)
1. Virtual functions are implemented with a table look up that is done at run time.
2. Late binding refers to a failure to secure one’s ski boots.
1. True
Explanation: When you label a function virtual, that tells the compiler, “Remember this label. Put information about all the functions labeled virtual in a table so you can decide at run-time which version one to use.”.
2. False
Explanation: Late binding refers to the fact that the decision as to which virtual function member in an inheritance hierarchy is called may be made during program execution rather than at compile time.
You might also like to view...
Match the protocol to the function
1. Transmitting a message 2. Formatting text in a message 3. Receiving a message into a single mailbox 4. Receiving a message into a shared mailbox a. HTTP b. SMTP c. POP3 d. IMAP
The lowest priority task execution type is
What will be an ideal response?