If a member is named _memberName in a Python class, it is conventionally considered to be _______.

  • Private
  • Protected
  • Public
  • Static
If a member in a Python class is named with a single underscore prefix (e.g., _memberName), it is conventionally considered a private member.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *