Multiple ChoiceHard 30s
Runtime Protocol Check
Choose the best answer for: Protocol checking
Options
- 1Protocol is a drop-in replacement for the abstract class ABC base class
- 2Protocol can be checked at runtime with isinstance (if decorated @runtime_checkable)
- 3Protocol members are always runtime-checked with no extra decorator at all
- 4Protocol never performs any checking, neither at runtime nor statically
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.