Suppose class Child is derived from class Parent that was in turn derived from class GrandParent. The class child is a___________ of GrandParent
a. Successor
b. Forebearer
c. Ancestor
d. Descendant
e. Indirect descendant
Part d) descendant of class GrandParent.
Explanation: Part e) deserves honorable mention. The meaning approximates d) but the term isn’t used.
You might also like to view...
What problems do you foresee in the direct coupling between communicating entities that is implicit in remote invocation approaches? Consequently, what advantages do you anticipate from a level of decoupling as offered by space and time uncoupling?
What will be an ideal response?
What is the number of iterations in the following loop?
``` for (int i = 1; i <= n; i++) { // iteration } ``` a. 2*n b. n c. n - 1 d. n + 1
____ are typically used for an unsorted list of items.
A. Numbers B. Letters C. Bullets D. Roman numerals
The shortest path algorithm is also called the ____ algorithm.
A. recursive B. minimal C. greedy D. spanning