English

Which of the following is the private class variable?

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]
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×