All challenges
Multiple ChoiceBeginner 30s

@staticmethod Usage

Choose the best answer for: staticmethod
Options
  1. 1@staticmethod defines a method that needs no instance or class ref
  2. 2@staticmethod can't access class variables in any context
  3. 3@staticmethod gets cls as its implicit first argument always
  4. 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.

Play this in a 3-minute battle