What is the output of the following code:
class MyClass:
x = 5
obj = MyClass()
print(obj.x)
x = 5
obj = MyClass()
print(obj.x)
What is the output of the following code:class MyClass: Correct Answer obj
x = 5
obj = MyClass()
print(obj.x)
মোঃ আরিফুল ইসলাম
Feb 20, 2025