A
Q. What is the output of this code?
Code:
class A:
def __init__(self):
print("A init")
class B(A):
pass
b = B()
def __init__(self):
print("A init")
class B(A):
pass
b = B()
- Correct Answer - Option(B)
- Views: 28
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.