MCQ Practice

The code class Descendant : virtual public Ancestor indicates that

A

the members of Ancestor will be included more than once in Descendant

B

the members of Ancestor will be included only once in Descendant

C

the members of Descendant will be included more than once in Ancestor

D

the members of Descendant will be included only once in Ancestor

Correct Answer: B