All challenges
Multiple ChoiceIntermediate 30s

@property Decorator

Choose the best answer for: @property
Options
  1. 1@property declares static methods on a class object
  2. 2@property only works on private underscore attributes
  3. 3@property replaces __init__ and initializes instances
  4. 4@property lets you define getters accessed like attributes

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