How many objects and reference variables are
there for the given Python code? class A
print("Inside class") A() A() obj=A()
Answers
Answered by
0
Answer:
Explanation: obj is the reference variable here and an object will be created each time A() is called.So there will be 3 objects created.
Similar questions