Multiple ChoiceBeginner 30s
isinstance with Inheritance
Choose the best answer for: isinstance check
Options
- 1isinstance(obj, Parent) returns True for Child instances
- 2isinstance checks memory address to compare identities
- 3isinstance only checks the exact type, not subclasses
- 4isinstance is a keyword reserved for type checking
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.