English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

Which of the following is true with respect to inheritance? - Computer Science

Advertisements
Advertisements

Question

Which of the following is true with respect to inheritance?

Options

  • Private members of the base class are inherited to the derived class with private.

  • Private members of the base class are not inherited to the derived class with private accessibility.

  • Public members of a base class are inherited but not visible to the derived class.

  • Protected members of the base class are inherited but not visible to the outside class.

MCQ

Solution

Private members of the base class are not inherited to the derived class with private accessibility.

shaalaa.com
  Is there an error in this question or solution?
Chapter 16: Inheritance - Evaluation - Section - A [Page 272]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 11 TN Board
Chapter 16 Inheritance
Evaluation - Section - A | Q 8. | Page 272
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×