Vidyalelo
Computer Science · Q372

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 372

Q372

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
Answer
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

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board