Which statement about the class methods is true?

  • A class method holds all of the data for a particular class.
  • A class method can modify the state of the class, but it cannot directly modify the state of an instance that inherits from that class.
  • A class method is a regular function that belongs to a class, but it must return None
  • A class method is similar to a regular function, but a class method does not take any arguments.
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

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