Multiple ChoiceBeginner 30s
@staticmethod Usage
Choose the best answer for: staticmethod
Options
- 1@staticmethod defines a method that needs no instance or class ref
- 2@staticmethod can't access class variables in any context
- 3@staticmethod gets cls as its implicit first argument always
- 4@staticmethod gets self as its implicit first argument always
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.