Python - Inheritance and Code Reuse
Which of the following is a correct way to call a parent class constructor using
super()?super()?The parent constructor is called with super().__init__() in Python.
Only super().__init__() correctly calls the parent's __init__ method.
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions