English

State True or False. The members under protected access specifier cannot be accessed by the objects of the class.

Advertisements
Advertisements

Question

State True or False.

The members under protected access specifier cannot be accessed by the objects of the class.

True or False
Advertisements

Solution

This statement is false.

Explanation:

The members under the protected access specifier can be accessed by the objects of the class. They are also accessible to subclasses.

shaalaa.com
  Is there an error in this question or solution?
Chapter 6: Encapsulation - Exercises [Page 149]

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 6 Encapsulation
Exercises | Q 3. (v) | Page 149
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×