मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता १२

How Python represents the private and protected Access specifiers? - Computer Science

Advertisements
Advertisements

प्रश्न

How Python represents the private and protected Access specifiers?

टीपा लिहा

उत्तर

Private members of a class are denied access from the outside of the class. They can be handled only within the class.
Protected members of a class are accessible from within the class and are also available to its sub-classes. No other process is permitted access to it.

shaalaa.com
Module
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 3: Scoping - Evaluation [पृष्ठ २९]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 12 TN Board
पाठ 3 Scoping
Evaluation | Q 5. | पृष्ठ २९
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×