Examveda

What will be the output of the following Python code?
>>> class A:
	pass
>>> class B(A):
	pass
>>> obj=B()
>>> isinstance(obj,A)

A. True

B. False

C. Wrong syntax for isinstance() method

D. Invalid method for classes

Answer: Option A


Join The Discussion

Related Questions on Concept of Object Oriented Programs in Python