11
How is a decorator applied to a class method in Python?
Answer & Solution
Answer: Option
B
Solution:
A decorator is applied to a class method using the @decorator syntax above the method definition.