1.

a$

A. The program has an error because b is private and display(self) is returning a private member
B. The program has an error because b is private and hence can’t be printed
C. The program runs fine and 1 is printed
Answer» D.


Discussion

No Comment Found