1.

The program runs properly and prints 45

A. The program has an error because the value of members of a class can’t be changed from outside the class
B. The program runs properly and prints 1
C. The program has an error because the value of members outside a class can only be changed as self.a=45
Answer» D.


Discussion

No Comment Found