When a method is decorated with @staticmethod, it cannot access or modify _______ specific data.

  • class
  • global
  • instance
  • local
When a method is decorated with '@staticmethod', it cannot access or modify 'instance' specific data. '@staticmethod' methods are bound to the class and cannot access or modify instance-specific attributes or methods.
Add your answer
Loading...

Leave a comment

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