a) A.__init__(self)
b) B.__init__(self)
c) A.__init__(B)
d) B.__init__(A)
Suppose B is a subclass of A, to invoke the __init__ method in A from B, what is the line of code you should write?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Suppose B is a subclass of A, to invoke the __init__ method in A from B, what is the line of code you should write?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!