Multiple ChoiceIntermediate 30s
Final Class Decorator
Choose the best answer for: @final
Options
- 1@final prevents a class from being subclassed (type-checker)
- 2@final prevents a class from being instantiated anywhere
- 3@final is functionally the same as @staticmethod on methods
- 4@final is enforced at runtime by raising an error on use
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.