If a class in Python has a method named _protectedMethod, it's a convention that this method is intended to be _______.

  • internal
  • private
  • protected
  • public
In Python, methods with a single leading underscore like '_protectedMethod' are considered protected, indicating they should be used with caution.
Add your answer
Loading...

Leave a comment

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