Examveda

What is the primary use of the @staticmethod decorator?

A. Define a static method

B. Modify instance methods

C. Create class variables

D. Access control in class

Answer: Option A


This Question Belongs to Python Program >> Formatting And Decorators

Join The Discussion

Related Questions on Formatting and Decorators