A

Admin • 832.27K Points
Coach

Q. Which of the following is NOT true about class methods?

  • (A) They are bound to the class.
  • (B) They require a `cls` parameter.
  • (C) They can modify class state.
  • (D) They can modify instance state directly.
  • Correct Answer - Option(D)
  • Views: 24
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

Class methods modify class-level data, not instance-level state.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.