Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumPythonclassmethod vs staticmethodSingle-choice MCQ

A class defines `s` with @staticmethod and `c` with @classmethod. What is true about how they are stored and bound?

class C: @staticmethod def s(): ... @classmethod def c(cls): ...