?
How is a decorator applied to a class method in Python?
Answer & Solution
Correct Answer:
Option
B
A decorator is applied to a class method using the @decorator syntax above the method definition.
Join the Discussion
Login to post a comment or share your explanation.
Login