Q31
What is the purpose of the @staticmethod decorator in Python classes?
A.
It defines a method that belongs to the class rather than an instance
AnswerB.
It defines a static attribute
C.
It defines a global function
D.
It defines a constructor
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board