?
What is the purpose of the @staticmethod decorator in advanced OOP?
Answer & Solution
Correct Answer:
Option
B
The @staticmethod decorator is used to define methods that operate on classes, not instances.
Join the Discussion
Login to post a comment or share your explanation.
Login