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.

Computer Science & Information Technology

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?

Computer Science & Information Technology

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

Computer Science & Information Technology

____ are typically used for an unsorted list of items.

A. Numbers B. Letters C. Bullets D. Roman numerals

Computer Science & Information Technology

The shortest path algorithm is also called the ____ algorithm.

A. recursive B. minimal C. greedy D. spanning

Computer Science & Information Technology