Define Overloading
If we create two or more members having same name but different in numbers or type of parameters, it is known as overloading. Two types of overloading –
- Function overloading
- Operator overloading
Define function overriding
Function overriding is a feature that allows us to have a same function in child class which is already present in parent class.