Page 1 of 1

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
by answerhappygod
a) A.__init__(self)
b) B.__init__(self)
c) A.__init__(B)
d) B.__init__(A)