Home / MCQ Bank / Computer
Computer Concept Of Object Oriented Programs In Python

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

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • True

Related Computer Questions

In C, which control structure allows you to define a block of code to be executed in response to a specific event or condition? In a conditional inclusion, if the condition that comes after the if is true, then what will happen during compilation? In Hadoop, what is the primary role of the Hadoop SequenceFileOutputFormat? The log enabled by -relay-log-index is ______ What is the role of the `javax.servlet.http.HttpSessionBindingListener` interface?