Results 1 to 2 of 2

Thread: A derivation inherits both a virtual and non-virtual instance

  1. #1
    Geek_Guest
    Guest

    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.


  2. #2
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    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
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact