Examveda
Examveda

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

Answer: Option B


Join The Discussion

Related Questions on Object Oriented Programming Using C Plus Plus

A default catch block catches

A. all thrown objects

B. no thrown objects

C. any thrown object that has not been caught by an earlier catch block

D. all thrown objects that have been caught by an earlier catch block