Vidyalelo
Python · Q11

Formatting and Decorators

Programming · Python · question 11

Q11

What is the primary use of the @staticmethod decorator?

A.
Define a static method
Answer
B.
Modify instance methods
C.
Create class variables
D.
Access control in class

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board