ExamVeda
Login
Home
Decorators in Depth
?

How does the @classmethod decorator differ from @staticmethod?

Answer & Solution
Correct Answer: Option C
The @classmethod decorator can access class attributes, while @staticmethod cannot.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.