English

What is meant by protected visibility? - Computer Applications

Advertisements
Advertisements

Question

What is meant by protected visibility? 

One Line Answer

Solution

A class member declared to be protected acts as a private member of the class (i.e. cannot be used outside the class premises) but can be applied to another class during inheritance. 

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

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 8 Encapsulation and Inheritance
Review Insight | Q 3. | Page 443
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×