English

During inheritance, the public and protected members remain in the same form in the derived class. - Computer Applications

Advertisements
Advertisements

Question

During inheritance, the public and protected members remain in the same form in the derived class. 

Options

  • True

  • False

MCQ
True or False

Solution

This statement is False.

Explanation:

Although public and protected members are passed down to the derived class via inheritance, their accessibility may vary slightly depending on where the derived class is accessed. 

shaalaa.com
  Is there an error in this question or solution?
Chapter 8: Encapsulation and Inheritance - EXERCISES [Page 444]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 8 Encapsulation and Inheritance
EXERCISES | Q III. 2. | Page 444
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×