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?
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? Correct Answer A.__init__(self)
To invoke the __init__ method in A from B, either of the following should be writteA.__init__(self) or super().__init__(self).
মোঃ আরিফুল ইসলাম
Feb 20, 2025