?
What is the difference between a class-based decorator and a function-based decorator?
Answer & Solution
Correct Answer:
Option
C
Function-based decorators are generally more flexible and can accept arguments more easily than class-based decorators.
Join the Discussion
Login to post a comment or share your explanation.
Login