I have to classes A and B. B is derived from A. Is there any way that when print() function gets called in a
A
B
print()