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?
Posted: Wed Jul 13, 2022 7:45 pm
a) A.__init__(self)
b) B.__init__(self)
c) A.__init__(B)
d) B.__init__(A)
b) B.__init__(self)
c) A.__init__(B)
d) B.__init__(A)