posted 11 years ago
Hi,
I have a doubt regarding overriding.
If i have an object B that extends A and override a function (for example equals, or toString).
In a main function of a C class, if i have a instance of B , can i call the method of parent class?
Example: