Which statement about static method is true?

Advertisement

  • Static methods can be bound to either a class or an instance of a class.
  • Static methods can access and modify the state of a class or an instance of a class.
  • Static methods serve mostly as utility or helper methods, since they cannot access or modify a class’s state.
  • Static methods are called static because they always return None.
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend