1.

What is the output of the following piece of code when executed in the Python shell? >>> 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» B. False


Discussion

No Comment Found