English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Which of the following is the private class variable?

Advertisements
Advertisements

Question

Which of the following is the private class variable?

Options

  • __num

  • ##num

  • $$num

  • &&num

MCQ
Advertisements

Solution

__num

shaalaa.com
Public and Private Data Members
  Is there an error in this question or solution?
Chapter 10: Python Classes and objects - Evaluation [Page 187]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 12 TN Board
Chapter 10 Python Classes and objects
Evaluation | Q 9. | Page 187
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×