हिंदी

In what way is a class Encapsulated? - Computer Applications

Advertisements
Advertisements

प्रश्न

In what way is a class Encapsulated? 

लघु उत्तरीय

उत्तर

If data members of the class are declared private then they can be used only within the member methods. A class is Encapsulated in this way. 

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 8: Encapsulation and Inheritance - Review Insight [पृष्ठ ४४३]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×