Correct answer is : B
Assigning to an object’s attribute always changes that object only, not others.
Here the method hello() is called using "f" object/instance only. So the value of "X" for instance "f" will only be changed (in this statement self.X = 20
)
The "X" value for the class and other instances "p" will remain unchanged
Comment here: