Question 7/17
intermediate
Select one answer

What does the @staticmethod decorator do?

Makes the method private
Defines a method that doesn't receive self or cls as first argument
Makes the method run only once
Caches the method result

Premium Question

Upgrade to unlock this question and 300+ more interview prep MCQs.