मराठी

What is meant by protected visibility? - Computer Applications

Advertisements
Advertisements

प्रश्न

What is meant by protected visibility? 

एका वाक्यात उत्तर

उत्तर

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
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 8: Encapsulation and Inheritance - Review Insight [पृष्ठ ४४३]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 8 Encapsulation and Inheritance
Review Insight | Q 3. | पृष्ठ ४४३
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×