Interfaces are designed to support dynamic method resolution at run time.
Please explain this.
Does static void t(CanFight x)
means CanFight i=new Hero();
if yes then how it can refer to a ActionCharacter fight() method?
Please use [ code] [ /code] tags to format your code. Check out the UBB Code link below for further details
Thanks
[This message has been edited by Rahul Mahindrakar (edited March 13, 2001).]