Class inheritance visibility mode or mode of derivation is not provided - Inheritance

Q.  During a class inheritance in CPP, if the visibility mode or mode of derivation is not provided, then by default visibility mode is  ___________.
- Published on 17 Jul 15

a. public
b. protected
c. private
d. Friend

ANSWER: private
 

    Discussion

  • ramesh   -Posted on 08 Oct 15
    In inheritance if the visibility mode or mode of derivation is not provided, then by default visibility mode is private.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)