2
Reply

what is function overriding?

Jignesh shah

Jignesh shah

14y
4.4k
0
Reply

    https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&cad=rja&uact=8&sqi=2&ved=0CDgQFjAE&url=http%3A%2F%2Fwww.codeproject.com%2FArticles%2F18734%2FMethod-Overriding-in-C&ei=en3bU8WoLdDPiwL0yYH4Aw&usg=AFQjCNFKNP0B78_T63CRT-WhRBjva98LMA&bvm=bv.72197243,d.cGE

    Function overriding is adding additional feature to a method of a derived class which is already defined in class. Say there is 2 class Class A and Class B, where Class B inherits Class A, if we have a Method X defined in Class A then the feature overriding enables us to define Method X in Class B and add additional features