LinkedIn Python Skill Assessment Quiz Answers

What statement about static methods is true?

Latest Update on 25th January, 2022 by Certification Course Answers

What statement about static methods is true?

  1.  Static methods are called static because they always return None.
  2.  Static methods can be bound to either a class or an instance of a class.
  3.  Static methods serve mostly as utility methods or helper methods, since they can’t access or modify a class’s state.
  4.  Static methods can access and modify the state of a class or an instance of a class.

Correct Answer:

  •  Static methods serve mostly as utility methods or helper methods, since they can’t access or modify a class’s state.

Latest Updates

No posts found in this category.