-
A derivation inherits both a virtual and non-virtual instance
Question asked by visitor kuldeep
Which of the following statements is true when a derivation inherits both a virtual and non-virtual instance of a base class ?
a) Each derived class object has base objects only from the non virtual instance
b) Each base class object has derived objects only from the non-virtual instance
c) Each derived class object has base objects only from the virtual instance
d) Each derived class object has a base object from the virtual instance and a base object from non-virtual instance.
-
Contributing Member
Re: A derivation inherits both a virtual and non-virtual instance
Answer is "Each derived class object has base objects only from the non virtual instance"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules