Q. Which of the following is used to define a class method?
β
Correct Answer: (B)
@classmethod
Explanation: The `@classmethod` decorator is used to define a class method.