?
What will be the output of the following Python code?
What will be the output of the following Python code?
class A():
def disp(self):
print("A disp()")
class B(A):
pass
obj = B()
obj.disp()
class A():
def disp(self):
print("A disp()")
class B(A):
pass
obj = B()
obj.disp()
Join the Discussion
Login to post a comment or share your explanation.
Login