What is Function Overriding?

Function overriding is a technique used to override the particular inherited function. It uses polymorphism. To override an inherited function identical function is redefined in the particular derived class. Now onwards any mention of the function from derived class will not likely call the function that can be defined in base class but it really will call the function defined in derived class only.

Post a Comment

0 Comments