Articles added in Mathematics Lab | Cyber Lab is now open | Astronomy Lab is now open | VLSI Lab is now open | 120 SEO Tips article published | More exciting articles coming soon!

7.3.2 Function Overriding

Function Overriding is a method in which we define functions of derived class with the same name as that of functions of the base class.

For example, consider a base class which has a function void read() and the derived class also has a function void read().Hence both base and derived class contain functions with the same name.This is called "Function overriding".Thus, We say that derived class overrides the base class.

CACKLE comment system

Programming Resources
Computer Networking Fundamentals Android Application